[Tutor] Loading and writing files

Sean 'Shaleh' Perry shaleh@valinux.com
Mon, 31 Jul 2000 12:53:30 -0700 (PDT)


> import string 
> import sys
> 
> print "Enter the name of the .CSV file to convert:"
> in_file = raw_input(".CSV file name?  ")
> in_file = open(x,"r")
> text = in_file.read()
> print text 
> out_file = open("junk2.txt","w")
> for line in in_file.readlines():
>     out_file.write()
> out_file.close()
> in_file.close()
> 

the point? other than asking us to do the homework for you?