Re: [Tutor] Importing packages

2011-01-21 Thread Pacific Morrowind
Hi; On 21/01/2011 1:10 AM, arun kumar wrote: Hi, I'm trying to program with gdata (http://code.google.com/p/gdata-python-client/) using python library.I'm having problem in writing import statements. The source directory content is like this: atom(folder): this folder contains some files with

Re: [Tutor] list of dictionary

2011-02-24 Thread Pacific Morrowind
Hi; On 24/02/2011 9:35 PM, sunil tech wrote: Hi all... i have d=[{'qty':0.0},{'qty':0.0}] If there isn't some pressing reason to dictionaries as the list items (but since I'm not sure how you're generating the list/what you are later using the list I can't tell ofc but if applicable to your

Re: [Tutor] list of dictionary

2011-02-25 Thread Pacific Morrowind
On 25/02/2011 9:44 AM, Patty wrote: - Original Message - *From:* Pacific Morrowind <mailto:pacificmorrow...@gmail.com> *To:* tutor@python.org <mailto:tutor@python.org> *Sent:* Thursday, February 24, 2011 10:21 PM *Subject:* Re: [Tutor] list o

Re: [Tutor] ctypes question

2011-03-07 Thread Pacific Morrowind
Hi On 07/03/2011 7:02 AM, Albert-Jan Roskam wrote: Hi, I want to use a dll to read Spss data files. But when I use lib = ctypes.cdll.LoadLibary("d:/temp/spssio32.dll") I get a WindowsError (cannot find module), even though the path exists. Why is that? Do I need to extend some environment varia