|
From: | Frie, Eddie J |
Subject: | RE: how to save text file using python?? |
Date: | Fri, 21 Sep 2012 22:32:03 +0000 |
I believe the best is to use pickle import pickle see
http://docs.python.org/py3k/library/pickle.html for examples -Eddie From: Preeti Gaikwad [mailto:address@hidden
Hello thanks a lot for very prompt reply but I am sorry I think my question want not complete.. save -ascii -tabs A.dat A now I wanna know the same syntax for python
thanks for ur ans
On 20 September 2012 18:20, Frie, Eddie J <address@hidden> wrote: my_file = open('my_filename.txt','w')
. my_file.write('\nHello World') . my_file.close() From:
address@hidden [address@hidden] on behalf of Preeti Gaikwad [address@hidden] Hello can anybody let me know how to save text or dat file using python ?? thanks a for ur help
|
[Prev in Thread] | Current Thread | [Next in Thread] |