, , , , , ,s = ScanTree(nnn)
, , , , , ,if s != ' ':
, , , , , , , , , ,hhh = s.split('|')
, , , , , , , , , ,L3[c] = hhh[0]+'|'+hhh[2]
, , , ,if SameFolder(L3):
, , , , , ,return
, , , ,L3.sort()
, , , ,LOut.append('-- '+au+' --\n')
, , , ,for i in L3:
, , , , , ,LOut.append(i)
#************************** main ******************************
LoadFileM('NeBaza3.txt', Books)
LoadFile('tree2.txt', tree)
Books.sort()
my_sort(Books)
SaveList('ccc.txt', LOut)
print( 'Done!')
tree.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys, os
# 27 Jul 2021
#
#--------------------------------------------------
L = []
ln = 0