jerome30
New Member
Hello
I try to write some info on a file and put the file on the desktop
but we have not the same path for the desktop because windows use our login name for that.
so, if we see my script :
this is work on PYHON 3.8 but not on ASSETTO (python 2.7.x)
any idea ? thanks
I try to write some info on a file and put the file on the desktop
but we have not the same path for the desktop because windows use our login name for that.
so, if we see my script :
Code:
import os
user=os.getlogin()
save_folder = "C:\\Users\{}\Desktop\\".format(user)
any idea ? thanks