I have some code like:
username = input("Enter username:")
save_1 = open("save_1.txt", "a")
save_1.write((str(username)))
save_1.close()
When I try this code, it asks me for a username; but then when I put one in the window just closes and I cant find the save file. How can I make sure the file was created? Where will it be created?