[Tutor] Permissions Error

2012-03-26 Thread Michael Lewis
> > Message: 1 > Date: Mon, 26 Mar 2012 10:52:19 +1100 > From: Steven D'Aprano > To: tutor@python.org > Subject: Re: [Tutor] Permissions Error > Message-ID: <4f6fafb3.4060...@pearwood.info> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Michael Lewis wrote: > > Hi everyone, > >

[Tutor] (no subject)

2012-03-26 Thread thao nguyen
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 "a1.txt": 1 3 5 Content of "a2.txt": 2 4 6 Conte

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

2012-03-26 Thread Elaina Ann Hyde
On Mon, Mar 26, 2012 at 11:14 PM, Evert Rol wrote: > Hi Elaina, > > > > Hi everyone, > >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

Re: [Tutor] concurrent file reading using python

2012-03-26 Thread Abhishek Pratap
Thanks Walter and Steven for the insight. I guess I will post my question to python main mailing list and see if people have anything to say. -Abhi On Mon, Mar 26, 2012 at 3:28 PM, Walter Prins wrote: > Abhi, > > On 26 March 2012 19:05, Abhishek Pratap wrote: >> I want to utilize the power of

Re: [Tutor] concurrent file reading using python

2012-03-26 Thread Steven D'Aprano
Abhishek Pratap wrote: Hi Guys I want to utilize the power of cores on my server and read big files (> 50Gb) simultaneously by seeking to N locations. Yes, you have many cores on the server. But how many hard drives is each file on? If all the files are on one disk, then you will *kill* perf

Re: [Tutor] concurrent file reading using python

2012-03-26 Thread Prasad, Ramit
> I want to utilize the power of cores on my server and read big files > (> 50Gb) simultaneously by seeking to N locations. Process each > separate chunk and merge the output. Very similar to MapReduce > concept. > > What I want to know is the best way to read a file concurrently. I > have read ab

[Tutor] concurrent file reading using python

2012-03-26 Thread Abhishek Pratap
Hi Guys I want to utilize the power of cores on my server and read big files (> 50Gb) simultaneously by seeking to N locations. Process each separate chunk and merge the output. Very similar to MapReduce concept. What I want to know is the best way to read a file concurrently. I have read about

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

2012-03-26 Thread Evert Rol
Hi Elaina, > Hi everyone, >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 , read a > third dataset and match the

[Tutor] plotting several datasets and calling data from afar

2012-03-26 Thread Elaina Ann Hyde
Hi everyone, 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 , read a third dataset and match the name from the first dataset,