First  |  Prev |  Next  |  Last
Pages: 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
Trying to set a cookie within a python script
Hello fellow Python Coders! I don't see the error in my attempt to set a a cookie in this test script. Can you help please?! Thank you! [code] #!/usr/bin/python # -*- coding: utf-8 -*- import Cookie print ( "Content-type: text/html\n" ) cookie = Cookie.SimpleCookie() if cookie.has_key('visitor') ==... 4 Aug 2010 14:41
Google job leads
Dear Colleagues, I recently started a recruiter project at Google and am working with Partner Solutions Organization and recruiting Technical Account Managers for the group so I am actively networking with those who may know great software engineers with client-facing experience (or wanting to move in that direction... 1 Aug 2010 12:39
Parse a string into argv-like list like OS does
On 08/01/10 08:12, python(a)bdurham.com wrote: Before I reinvent the wheel, is there a module that provides a command-line like parser that I can use? By command-line like parser, I mean that I would like to pass a string to this function and get back a list in the same manner as the OS receives a command ... 1 Aug 2010 10:29
image resize doesn't work
I have the following chunk of code. Although it seems to execute fine, no errors, the image is never resized. What am I missing? imagePNG = Image.open("image.png") photo = ImageTk.PhotoImage(imagePNG canvasWidth = 300 canvasHeight = 275 photo = ImagePNG.resize((canvasWidth,canvasHeight),Image.ANTIA... 12 Aug 2010 15:52
how can I solve this erorr usr/lib/python2.6 : permisson denied
Dear Friend I have this erorr after running pyhon script with header /usr/lib/python2.6 : permisson denied I change ownership with -hR in super user terminal ... 3 Aug 2010 09:13
let optionparse.Optionparser ignore unknown command line switches.
I wondered, whether there's a simple/standard way to let the Optionparser just ignore unknown command line switches. thanks in advance for any ideas ... 3 Aug 2010 01:40
Docstrings and PEP 3174
PEP 3174 got me to thinking. There is now a subdirectory to deposit as many *.pyc files as you want without cluttering the source directory (never mind the default case). Which means you can pretty much write files with impunity. So I was wondering: what about a separate file just for docstrings. __doc__ woul... 1 Aug 2010 23:32
python and swig
I have a swig object of type int* (an integer array) how to covert this swig object to python list now : print self.buffer[0] gives swig object of type int* i want to access the elements of array self.buffer[0] like print self.buffer[0][0] , self.buffer[0][1], self.buffer[0][2] etc... ... 31 Jul 2010 23:47
Call CFUNCTYPE, class Structure, ctype,dll and Callback function problem
"legard_new" <legard4d(a)gmail.com> wrote in message news:70faf0b4-fead-49ac-bf18-e182fd63bbff(a)j8g2000yqd.googlegroups.com... Hello, I have a problem with calling Callback function with Python. I have a DLL file. Below is a description in documentation. FUNCTION Callback Arguments: Callback ID... 31 Jul 2010 17:15
Call CFUNCTYPE, class Structure, ctype, dll and Callback function problem
Hello, I have a problem with calling Callback function with Python. I have a DLL file. Below is a description in documentation. FUNCTION Callback Arguments: Callback ID integer read-only, immediate value CBackProc address read-only, immediate value Returns: status The Callback routine registers th... 1 Aug 2010 02:59
First  |  Prev |  Next  |  Last
Pages: 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32