Untitled

mail@pastecode.io avatar
unknown
python
2 years ago
400 B
2
Indexable
Never
list_papka = ['AD[3EEC6A6DABB359FE5B5D86ADAE5601FF] [2022-02-20T20_26_03]','XR[D101ADB2C25D5FF0A200035A58FF00C9] [2022-02-18T15_18_50]','DE[EE2EDC03F906DF89C5AE8494A926AF7A] [2022-03-27T10_49_46.77']
for papka in list_papka:
	check = os.path.exists(papka[:2])
	if check == False:
		os.mkdir(papka[:2])
		#тут типо код который перемещает просто papka БЕЗ [:2]