Re: [Tutor] I/O operation on closed file?

2012-03-27 Thread bob gailer
in addition to posting the relevant code: please in future use a meaningful subject which I have provided this time. remember to reply-all so a copy goes to the list. On 3/26/2012 9:08 PM, thao nguyen wrote: Dear Support Team, I have built a function (enclosed here) to merge many files (in thi

Re: [Tutor] Permissions Error

2012-03-27 Thread Tim Golden
On 27/03/2012 05:00, Michael Lewis wrote: Traceback (most recent call last): File "C:\Python27\Utilities\copyfiles.py", line 47, in copyfiles(srcdir, dstdir) File "C:\Python27\Utilities\copyfiles.py", line 42, in copyfiles shutil.copy(srcfile, dstfile) File "C:\Python27\lib\sh

Re: [Tutor] (no subject)

2012-03-27 Thread Christian Witts
On 2012/03/27 03:08 AM, thao nguyen wrote: Dear Support Team, I have built a function (enclosed here) to merge many files (in this example is 2 files: "a1.txt" and "a2.txt") lines by lines. The output file is called "final_file". However, i could not have it run successfully. Content of "a

Re: [Tutor] (no subject)

2012-03-27 Thread Kushal Kumaran
On Tue, Mar 27, 2012 at 6:38 AM, thao nguyen wrote: > Dear Support Team, > > I have built a function (enclosed here) to merge many files (in this example > is 2 files: "a1.txt" and "a2.txt") lines by lines. The output file is called > "final_file". However, i could not have it run successfully. >

Re: [Tutor] plotting several datasets and calling data from afar

2012-03-27 Thread Evert Rol
See below, but not all the way. Interspersed in the code. > >I am trying to set up a code to do some plotting and before I get too > > far I wanted to ask some structure questions. Basically I want to tell > > python to read 2 datasets, plot them on the same scale on the same x-y axis >