-
-
Save pcrunn/ca0c9d31fa8cdcd863f9c7623a499e97 to your computer and use it in GitHub Desktop.
Directory in a directory.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
l = [] | |
for _ in range(78): | |
l.append(str(_)) | |
x = '' | |
for y in l: | |
if x == '': | |
x = y | |
else: | |
x+='/'+y | |
os.mkdir(x) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment