First  |  Prev |  Next  |  Last
Pages: 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232
Python tricks with applescript in OS-X
Greetings, I've written a short document with some working examples of how to interface python with other applications in OS-X via applescript (had to spend some time figuring it out, and thought I might as well write it down). The examples include asking Google Earth for the latitude and longitude of the point... 16 Dec 2009 13:28
New user documentation for ‘python-daemon’ (was: daemon.DaemonContext and logging)
Sean DiZazzo <half.italian(a)gmail.com> writes: On Dec 10, 5:37 pm, Sean DiZazzo <half.ital...(a)gmail.com> wrote: I'm finally getting around to trying out the python-daemon module and have hit a wall.  I'm trying to set up logging inside of the "with daemon.DaemonContext" block.  But when I try to use ... 11 Dec 2009 00:28
pyZui - anyone know about this?
Hi, I happened upon this youtube link: http://www.youtube.com/watch?v=57nWm984wdY It fairly blew my socks off. In it a fellow by the name of David Roberts demos a zui written in Python. Aside from the zooming (which is impressive enough) it show embedding of images, pdf files, web pages and text. He says noth... 17 Dec 2009 13:42
daemon.DaemonContext and logging
On Dec 10, 5:37 pm, Sean DiZazzo <half.ital...(a)gmail.com> wrote: I'm finally getting around to trying out the python-daemon module and have hit a wall.  I'm trying to set up logging inside of the "with daemon.DaemonContext" block.  But when I try to use a logger inside the block it throws an error: Got i... 10 Dec 2009 23:23
Porting pyftpdlib to Python 3.x: question about tarball namingconvention
En Wed, 09 Dec 2009 20:13:17 -0300, Giampaolo Rodola' <gnewsg(a)gmail.com> escribi�: I've started the (hard) process of porting pyftpdlib [1] to Python 3. In order to do that I'm working on a separate SVN branch and I plan to maintain two different releases of my software, one for 2.x and another one for... 10 Dec 2009 22:17
IndentationError
List, I got error says IndentationError in end of line. I could not figure out why. See following: $ ./cont-mcs File "./cont-mcs", line 264 mcs1 = ht_val+cck_val+green_val+fat_val+sgi_val ^ IndentationError: unindent does not match any outer indentatio... 10 Dec 2009 23:23
umath import error for Numpy builds on OSX 10.6
For the past several weeks, I have been unable to build numpy from source, at least nothing that works. The issue is that symbols appear to be missing from umath. When numpy is imported, I get the following: In [1]: import numpy ------------------------------------------------------------ Traceback (most recent ... 12 Dec 2009 18:55
C to Python
Emeka <emekamicro <at> gmail.com> writes: Hello All,   I am finding it difficult getting my head around PyObject_CallObject(x,y). I need a gentle and thorough introduction to it. I also need examples. Could someone come to my need? PyObject_CallFunction is probably easier to use. http://docs.py... 11 Dec 2009 11:19
ctypes / cygwin / django+geos
Oups, i forgot to say that the tests i am excuting are from Django. (django.gis.tests.test_geos, tag 1.0.2) You can have it online here: http://code.djangoproject.com/browser/django/tags/releases/1.0.2/django/contrib/gis/tests/test_geos.py -- Cordialement, KiOrKY GPG Key FingerPrint: 0x1A1194B7681112AF ... 10 Dec 2009 11:10
accessing local variables from the pdb debugger
Guys, I have some problem changing method locals with pdb: import pdb def test(): foo = 'foo' pdb.set_trace() test() --Return-- /home/jeanmichel/trunk/tnt/test.py(5)test()->None -> pdb.set_trace() (Pdb) print foo foo (Pdb) foo = 'bar' (Pdb) print foo foo (Pdb) I tried ... 10 Dec 2009 08:58
First  |  Prev |  Next  |  Last
Pages: 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232