Re: GUI for pickle read

2012-02-28 Thread Aaron France
On Tue, Feb 28, 2012 at 12:51 PM, Smiley 4321 wrote: Can I have some thoughts about - building a GUI to display the results of the pickle read? A prototype code should be fine on Linux. What on earth is this post asking? Do you want code? Opinions? -- http://mail.python.org/mailman/listinfo

Re: iterating over list with one mising value

2012-02-07 Thread Aaron France
On 02/07/2012 11:09 PM, Mark Lawrence wrote: On 07/02/2012 21:25, Aaron France wrote: for i in range(0, len(x), 2): print x[i-1], x[i] x = ['with', 3, 'which', 1, 'were', 2, 'well', 1, 'water', 1, 'was', 4, 'two', 1,

Re: iterating over list with one mising value

2012-02-07 Thread Aaron France
On 02/07/2012 10:13 PM, MRAB wrote: On 07/02/2012 20:23, Sammy Danso wrote: Hi Expert, Thanks for your responses and help. thought I should provide more information for clarity. > Please find the error message below for more information for (key, value) in wordFreq2: ValueError: need more

Re: difference between random module in python 2.6 and 3.2?

2012-02-06 Thread Aaron France
On 02/06/2012 09:57 AM, Matej Cepl wrote: On 6.2.2012 09:45, Matej Cepl wrote: Also, how could I write a re-implementation of random.choice which would work same on python 2.6 and python 3.2? It is not only matter of unit tests, but I would really welcome if the results on both versions produce

Re:

2012-02-03 Thread Aaron France
On 02/03/2012 09:14 PM, Chris Rebert wrote: On Fri, Feb 3, 2012 at 12:06 PM, Debashish Saha wrote: would u like to help me by answering some vbasic questions about python? You might prefer to ask such questions on the tutor mailing list instead: http://mail.python.org/mailman/listinfo/tutor C

Re: PyPI - how do you pronounce it?

2012-01-28 Thread Aaron France
On 01/28/2012 10:57 AM, Steven D'Aprano wrote: On Sat, 28 Jan 2012 18:48:49 +1100, Chris Angelico wrote: Hopefully this will be a step up from Rick's threads in usefulness, but I'm aware it's not of particularly great value! How do you pronounce PyPI? Is it: Obviously that's pronounced Fin-ti