karthik...@gmail.com writes:
> On May 26, 7:26 pm, Arnaud Delobelle wrote:
>> karthik...@gmail.com writes:
>> > I would like to have a txt file of single line with
>> > [1 2 3 .100]
>>
>> > I try something like
>> > q=arange(100)
>> > fl=file('tmp.ext','w')
>> > fl.writelines(str(q))
>> >
On 2009-05-26 09:18, karthik...@gmail.com wrote:
I would like to have a txt file of single line with
[1 2 3 .100]
I try something like
q=arange(100)
fl=file('tmp.ext','w')
fl.writelines(str(q))
fl.close()
Unfortunately my output is
[ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
karthik...@gmail.com wrote:
I would like to have a txt file of single line with
[1 2 3 .100]
I try something like
q=arange(100)
fl=file('tmp.ext','w')
fl.writelines(str(q))
fl.close()
Unfortunately my output is
[ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
23 24
karthik...@gmail.com writes:
> I would like to have a txt file of single line with
> [1 2 3 .100]
>
> I try something like
> q=arange(100)
> fl=file('tmp.ext','w')
> fl.writelines(str(q))
> fl.close()
>
> Unfortunately my output is
>
> [ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Arnaud Delobelle wrote:
karthik...@gmail.com writes:
I would like to have a txt file of single line with
[1 2 3 .100]
I try something like
q=arange(100)
fl=file('tmp.ext','w')
fl.writelines(str(q))
fl.close()
Unfortunately my output is
[ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
On May 26, 7:26 pm, Arnaud Delobelle wrote:
> karthik...@gmail.com writes:
> > I would like to have a txt file of single line with
> > [1 2 3 .100]
>
> > I try something like
> > q=arange(100)
> > fl=file('tmp.ext','w')
> > fl.writelines(str(q))
> > fl.close()
>
> > Unfortunately my output
I would like to have a txt file of single line with
[1 2 3 .100]
I try something like
q=arange(100)
fl=file('tmp.ext','w')
fl.writelines(str(q))
fl.close()
Unfortunately my output is
[ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
23 24
25 26 27 28 29 30 31 32 33 3