Posts by RafaelTuber • 11 points
1 post
-
1
votes5
answers1328
viewsA: How to create folders in python desktop
Take the system name of the user with getpass. import subprocess import getpass usuario = getpass.getuser() subprocess.call('mkdir C:\\Users\\' + usuario + '\\Desktop\\Pasta_Teste', shell= True)…