You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
223 B

8 months ago
import os
# Current working directory
home = os.getcwd()
print(home)
# Change directory
os.chdir('C:\\Windows\\System32')
print(os.getcwd())
os.chdir(home)
print(os.getcwd())
# Create folders
os.makedirs('./files')