Re: Missing modules for python

2010-10-12 Thread Jed Smith
On Mon, Oct 11, 2010 at 7:02 PM, Steven D'Aprano wrote: > On Mon, 11 Oct 2010 10:32:44 -0400, Jed Smith wrote: > >> simplejson got merged into the standard library in Python 2.6. In >> libcloud, I wrote this: >> >>   try: import json >>   except ImportError, excp: import simplejson as json > > I'm

Re: Missing modules for python

2010-10-11 Thread Steven D'Aprano
On Mon, 11 Oct 2010 10:32:44 -0400, Jed Smith wrote: > simplejson got merged into the standard library in Python 2.6. In > libcloud, I wrote this: > > try: import json > except ImportError, excp: import simplejson as json I'm curious why you bother to bind the exception to the excp when you

Re: Missing modules for python

2010-10-11 Thread Jed Smith
On Mon, Oct 11, 2010 at 8:43 AM, Sunil Saggar wrote: > I was trying to make exe from python program and found the following errors > > The following modules appear to be missing > ['email.FeedParser', 'email.Generator', 'email.Iterators', 'email.Message', > 'email.Utils', 'simplejson', 'socks'] >

Missing modules for python

2010-10-11 Thread Sunil Saggar
I was trying to make exe from python program and found the following errors The following modules appear to be missing ['email.FeedParser', 'email.Generator', 'email.Iterators', 'email.Message', 'email.Utils', 'simplejson', 'socks'] I am using Python 2.6 -- Regards Sunil Saggar -- http://mai