Writing a nice formatted csv file

2007-05-02 Thread redcic
Hi all, I use the csv module of Python to write a file. My code is of the form : cw = csv.writer(open("out.txt", "wb")) cw.writerow([1,2,3]) cw.writerow([10,20,30]) And i get an out.txt file looking like: 1,2,3 10,20,30 Whereas what I'd like to get is: 1,2,3, 10, 20, 30 which is mor

Re: Writing a nice formatted csv file

2007-05-02 Thread redcic
Well then how can I format a file ? Thanks for your help, Cédric On 2 mai, 16:26, 7stud <[EMAIL PROTECTED]> wrote: > On May 2, 8:14 am, redcic <[EMAIL PROTECTED]> wrote: > > > > > Hi all, > > > I use the csv module of Python to write a file. My code is

Plot with scipy

2007-05-04 Thread redcic
Hi all, I've just downloaded scipy v 0.5.2 and I would like to be able to draw plots. I've tried: import scipy.gplt import scipy.plt import scipy.xplt and none of them work. Are these modules still included in scipy ? If not, where can I find them ? Thanks for your answers, Cédric -- http://m

Re: Plot with scipy

2007-05-04 Thread redcic
i, 15:49, Lou Pecora <[EMAIL PROTECTED]> wrote: > In article <[EMAIL PROTECTED]>, > > > > redcic <[EMAIL PROTECTED]> wrote: > > Hi all, > > > I've just downloaded scipy v 0.5.2 and I would like to be able to draw > > plots. I've tried: >

Re: Plot with scipy

2007-05-09 Thread redcic
hat do you think about that ? Any other idea ? Thanks again, Cédric On 7 mai, 14:50, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > On 4 Mai, 15:57, redcic <[EMAIL PROTECTED]> wrote: > > > I've already got this package. I just wanted to try something new. &

matplotlib problem

2007-05-10 Thread redcic
oups.google.com/group/comp.lang.python/browse_thread/thread/939fc6c7a9645bd8/f939f2db9da55430?lnk=gst&q=redcic&rnum=1#f939f2db9da55430 I set "interactive : True" in matplotlibrc. I also tried the other things I had been advised to do but I still have the same problem. Any other