|
From: | Preeti Gaikwad |
Subject: | Re: how to save text file using python?? |
Date: | Fri, 21 Sep 2012 10:17:02 +0200 |
save -ascii -tabs A.dat A
now I wanna know the same syntax for python
thanks for ur ans
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]
Sent: Thursday, September 20, 2012 8:58 AM
To: address@hidden
Subject: how to save text file using python??
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] |