View Single Post
  #1  
Old 11-15-2009, 08:19 AM
Python Python is offline
Senior Member
 
Join Date: Jun 2009
Posts: 4,684
Default Writing a new textfile

Hi all. I am very new at python and so i am having trouble with the simplest things, and i dont understand why this: newfile = raw_input('what do you want to name your new file?') text_file = open (newfile, "w") isn't working. Can somebody explain it? Thankyou
__________________
Python
Domain Name Forum
Reply With Quote