First  |  Prev |  Next  |  Last
Pages: 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185
ANNOUNCE: RSON v 0.02 available
RSON (Readable Serial Object Notation) is a superset of JSON that is suitable for files that humans have to edit and diff. The current release is decoder-only, but the decoder will read files encoded by JSON encoders such as json or simplejson. The current release consists of a single Python module and a short ... 12 Mar 2010 01:45
Platform Requirement Checker (was Does this already exists?:A module that checks if the used platform is supported)
Martin P. Hellwig wrote: On 03/11/10 01:37, Gabriel Genellina wrote: En Wed, 10 Mar 2010 10:54:27 -0300, Martin P. Hellwig <martin.hellwig(a)dcuktec.org> escribi�: Before I start reinventing a squared wheel, I have the following question: Is there already a (standard) module that wraps aroun... 11 Mar 2010 19:06
inspect.stack() and frame
Given this code : # Experience with frame import sys import inspect def foo(): stack = inspect.stack() print "foo frame : " + str(hex(id(sys._getframe()))) def foo2(): inspect.stack() print "foo2 frame : " + str(hex(id(sys._getframe()))) def bar(): print "bar frame : " + str(hex(id(... 12 Mar 2010 11:38
Platform Requirement Checker (was Does this already exists?: A modulethat checks if the used platform is supported)
On 03/11/10 01:37, Gabriel Genellina wrote: En Wed, 10 Mar 2010 10:54:27 -0300, Martin P. Hellwig <martin.hellwig(a)dcuktec.org> escribi�: Before I start reinventing a squared wheel, I have the following question: Is there already a (standard) module that wraps around the various os/sys informati... 11 Mar 2010 17:58
Parsing Email Headers
All I'm looking to do is to download messages from a POP account and retrieve the sender and subject from their headers. Right now I'm 95% of the way there, except I can't seem to figure out how to *just* get the headers. Problem is, certain email clients also include headers in the message body (i.e. if you're r... 12 Mar 2010 08:17
Python 2.6 and modules dbi AND odbc
On Wed, 10 Mar 2010 16:17:29 -0800, robert somerville wrote: hi; i am trying to get some legacy python code (which i no nothing about) working with tries to import dbi and odbc (the import fails ...) it looks like these modules are deprecated ?? if so is there a work around , if not deprecated, what a... 11 Mar 2010 14:32
unable to run wxPython script: dll errors
Hi all, I am trying to run a file that should pop up a dialog. The dialog is fine (I used XRCed to create it and running it from within that editor brings up the dialog I want). When I run my file, though, I get this traceback: C:\Users\Alex>c:\python26\python.exe i:\arm\dictionary.py Traceback (most recent cal... 11 Mar 2010 13:24
Behavior of default parameter in a function
This is addressed in the FAQ. http://www.python.org/doc/faq/general/#why-are-default-values-shared-between-objects jitendra gupta wrote: def foo(x = [0]): x[0] = x[0] + 1 return x[0] def soo(x = None): if x is None: x = [0] x[0] = x[0] + 1 return x[0] foo() 1 f... 11 Mar 2010 12:16
bypass UAC control through python script (to be run from batchfile)
Hi here is my problem. i want to install a program through python script. The python scripts is called from a batch file. The UAC control is not allowing the python script to install a msi (installer). I need to somehow by pass the UAC control. i dont want to turn it off permanently. Once i have run the batch... 12 Mar 2010 05:01
Insert missing keys using defaultdict
I am trying to grok this documentation but need help: http://docs.python.org/library/collections.html#defaultdict-examples In a perfect world the dict looks like this: plistDict={'Style':'ExternalURL', 'Ref':'http://Gnarlodious.com/', 'Tip':'Opens in a new window', 'Text':'Gnarlodious.com'} Let's say I want to... 11 Mar 2010 12:16
First  |  Prev |  Next  |  Last
Pages: 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185