Hello there I have this code:
login=os.getlogin()
if not os.path.exist("C:\Users\login\Documents")
As you can see I have a login variable that gets the user of the computer but I am struggling to use it in the ''if not os.path.exist'' statement, The output I want is for python to get the username of the user and use it in a directory.
Thanks in advance!