On 09/20/2012 12:14 PM, Preeti Gaikwad wrote:
>   Hello I am new user of python pls let me know how to save dat or txt file
> using python? what is the basic cmd for this? thanks a lot in advance
>
>

Have you written any code that READs files?

Check out the open() function, in particular the "w" or "wb" mode.

Then use the method write(), on the file object returned by open().

-- 

DaveA

_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to