[STORY-TIME] THE BDFL AND HIS PYTHON PETTING ZOO

2016-02-02 Thread Rick Johnson
[STORY-TIME] THE BDFL AND HIS PYTHON PETTING ZOO A long, long time a ago, in a sleepy little Scandinavian village, somewhere outside of Stockholm, a wee little boy was born,

Re: psss...I want to move from Perl to Python

2016-02-02 Thread Rick Johnson
On Sunday, January 31, 2016 at 9:15:38 PM UTC-6, Chris Angelico wrote: > That said, though, I would GREATLY prefer Rick to post > less provocatively. I'll admit that my tone can "sometimes" be acerbic, but it's not like i was attacking someone for *NO* justifiable reason, in fact, my response was

Re: psss...I want to move from Perl to Python

2016-02-02 Thread Rick Johnson
On Sunday, January 31, 2016 at 9:35:17 PM UTC-6, MRAB wrote: > In [jmf's] defence, he _was_ the one who drew attention to > the unexpected slowness of the FSR under certain > circumstances in the Windows build of Python 3.3, albeit > in a rather over-dramatized way. Thanks MRAB. You and Terry may

Re: psss...I want to move from Perl to Python

2016-02-02 Thread Martin A. Brown
Hello, >http://www.barnesandnoble.com/w/perl-to-python-migration-martin-c-brown/1004847881?ean=9780201734881 > >Given that this was published in 2001, surely it is time for a >second edition. How many times do you think somebody migrates from Perl to Python?! ;) -Martin P.S. I was amused

Re: Heap Implementation

2016-02-02 Thread Sven R. Kunze
On 02.02.2016 01:48, srinivas devaki wrote: On Feb 1, 2016 10:54 PM, "Sven R. Kunze" > wrote: > > Maybe I didn't express myself well. Would you prefer the sweeping approach in terms of efficiency over how I implemented xheap currently? > complexity wise your approach

Re: psss...I want to move from Perl to Python

2016-02-02 Thread paul.hermeneutic
On Jan 29, 2016 6:51 AM, "Dennis Lee Bieber" wrote: > > http://www.barnesandnoble.com/w/perl-to-python-migration-martin-c-brown/1004847881?ean=9780201734881 Given that this was published in 2001, surely it is time for a second edition. -- https://mail.python.org/mailman/listinfo/python-list

Re: Heap Implementation

2016-02-02 Thread Oscar Benjamin
On 2 February 2016 at 05:38, Steven D'Aprano wrote: > > In effect, each measurement you take is made up of two components: > > * the actual time that the code would take if it had exclusive > access to the machine with no other programs running, call it t; > > * and the noise added by the system

Re: Behaviour of list comprehensions

2016-02-02 Thread Peter Otten
arsh...@gmail.com wrote: > I am having some understandable behaviour from one of my function name > week_graph_data() which call two functions those return a big tuple of > tuples, But in function week_graph_data() line no. 30 does not > work(returns no result in graph or error). > > I have check

testfixtures 4.8.0 Released!

2016-02-02 Thread Chris Withers
Hi All, I'm pleased to announce the release of testfixtures 4.8.0 featuring the following: - More succinct mocking with Replacer: For setUp usage: class MyTests(TestCase): def setUp(self): replace = Replacer() replace('x.y.z', Mock()) self.addCleanup(replace.rest

Behaviour of list comprehensions

2016-02-02 Thread arsh . py
I am having some understandable behaviour from one of my function name week_graph_data() which call two functions those return a big tuple of tuples, But in function week_graph_data() line no. 30 does not work(returns no result in graph or error). I have check both functions are called in week

Re: Data storing

2016-02-02 Thread Joel Goldstick
On Tue, Feb 2, 2016 at 5:33 AM, Steven D'Aprano wrote: > On Tue, 2 Feb 2016 01:19 pm, Anup reni wrote: > > > Hi I'm new to python and planning to make a web app which contains a > large > > amount of data and involves comparing two data sets. Which is better to > > use in python, a Dictionary or

Re: Behaviour of list comprehensions

2016-02-02 Thread Steven D'Aprano
Hi Arsh, and welcome! On Wed, 3 Feb 2016 12:30 am, arsh...@gmail.com wrote: > I am having some understandable behaviour from one of my function name > week_graph_data() which call two functions those return a big tuple of > tuples, But in function week_graph_data() line no. 30 does not > work(ret

Re: Data storing

2016-02-02 Thread Steven D'Aprano
On Tue, 2 Feb 2016 01:19 pm, Anup reni wrote: > Hi I'm new to python and planning to make a web app which contains a large > amount of data and involves comparing two data sets. Which is better to > use in python, a Dictionary or Mysql? "Hi, I'm planning to transport a large number of objects fro

Re: Data storing

2016-02-02 Thread dieter
Anup reni writes: > Hi I'm new to python and planning to make a web app which contains a large > amount of data and involves comparing two data sets. Which is better to use > in python, a Dictionary or Mysql? Is it important for your data to be persistent (i.e. live across restarts of your web a

Data storing

2016-02-02 Thread Anup reni
Hi I'm new to python and planning to make a web app which contains a large amount of data and involves comparing two data sets. Which is better to use in python, a Dictionary or Mysql? -- https://mail.python.org/mailman/listinfo/python-list