help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to save text file using python??


From: Preeti Gaikwad
Subject: Re: how to save text file using python??
Date: Fri, 21 Sep 2012 10:17:02 +0200

Hello thanks a lot for very prompt reply but I am sorry I think my question want not complete..

I have the data two column in x and y  now I want to save this data so as I know in octave it is
A= [x1(:-1),y(0)];
and then for example this save as

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]
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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]