Need help. At the moment been trying to create a file, but I want to know how I can have the file created in a specific location. for example, I tried to create a text file on my desktop, but when i excute the code, nothing happens. can someone help?
filename = ("C:/Users/Solris/Desktop","test.txt")
what am i doing wrong? do i need to imprt a module or somthing?

New Topic/Question
Reply




MultiQuote



|