Skip to content

Instantly share code, notes, and snippets.

@pcrunn
Created March 31, 2019 18:31
Show Gist options
  • Save pcrunn/ca0c9d31fa8cdcd863f9c7623a499e97 to your computer and use it in GitHub Desktop.
Save pcrunn/ca0c9d31fa8cdcd863f9c7623a499e97 to your computer and use it in GitHub Desktop.
Directory in a directory.
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