How would I save a list to a new file

for example: 

If line.startswith('XXX'):
            save list to new file

But I get errors saying only stings can be saved this
way. 



                
__________________________________ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to