Merci beaucoup beaucoup!!
2011/5/12 Éric Depagne
> Le jeudi 12 mai 2011 12:21:46, Claudia Chan Yone a écrit :
> > Hi,
> >
> > I have a problem with the Numpy module, but I think it is a very basic
> > issue for many of you...
> > I have a file with numerical
Hi,
I have a problem with the Numpy module, but I think it is a very basic issue
for many of you...
I have a file with numerical data (2 columns, and 5 lignes) as :
1 2
3 4
... ...
And I woulid like to convert it in a matrix as :
[[1,2]
[3,4]
...]
My python script is :
fic=open('file.txt','r')