First  |  Prev |  Next  |  Last
Pages: 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215
Terminating threaded programs
Hello everyone, I have a problem with a threaded program: it frequently hangs on sys.exit. The problem is that my program uses threads which in turn use paramiko library, which itself is threaded. I try to gracefully close the threads (below), but it doesn't always work, if paramiko calls happen to be at s... 11 Feb 2010 16:11
Pickling an extension type subclasses problems
Hi all, I am trying to write an (optional!) C extension for SQLAlchemy, and I am struggling to make an extension type picklable *and* using the same format as the pure Python version (so that computers with the C extension can unpickle pickles from computers without it and vice-versa). Also the extension type (M... 9 Feb 2010 06:10
which
if isinstance(cmd, str): self.cmd = cmd.replace(r'${ADDR}',ip) else: self.cmd = cmd or self.cmd = cmd if isinstance(cmd, str): self.cmd = cmd.replace(r'${ADDR}',ip) ... 6 Feb 2010 05:19
Employee motivation in the software industry
Hi all, I am doing a research about motivation in software development, the most efficient practices to motivate software engineers, their popularity, etc. As a part of the research, I am doing an online survey for software engineers and managers in software development. It takes just several minutes and fill... 5 Feb 2010 07:11
come and join www.pakdub.com where u can find friends, classifieds, games, music albums, events, blogs, chatrooms, video songs and lot more.... for free
come and join www.pakdub.com where u can find friends, classifieds, games, music albums, events, blogs, chatrooms, video songs and lot more.... for free ... 5 Feb 2010 06:06
Exiting a Program Running in Idle, Various Choices
I I have a very simple program running in Python, with say the last line print "bye". it finishes leaving the script showing >>> in the shell window. The program proceeds linearly to the bottom line. Suppose now I have instead a few lines of MatPlotLib code (MPL) like this at the end: .... Show() Show ... 4 Feb 2010 21:21
YAML
Lou Pecora <pecora(a)anvil.nrl.navy.mil> writes: In article <87eil1ddjp.fsf_-_(a)castleamber.com>, John Bokma <john(a)castleamber.com> wrote: Lou Pecora <pecora(a)anvil.nrl.navy.mil> writes: That's a pretty accurate description of how I transitioned to Python from C and Fortran. Not C... 4 Feb 2010 16:49
Building a multiline string
Hello Maybe that's already documented, but it seems the parser accepts to build a long string w/o really using the first method: # Method1 x = "line1" + \ # cannot use comments! "line2"+ \ "line3" and instead using a list with one element like this: # Method2 x = [ "line1" # can use comments "line2" ... 8 Feb 2010 19:06
python via netcat
I write little script run python via netcat http://www2s.biglobe.ne.jp/~niitsuma/jsonrpcdirect.html Usage $ netcat localhost 31415 {"method": "numpy.linalg.norm", "params": [[2,2]], "id": 0} then get response {"result": 2.8284271247461903, "error": null, "id": 0} ... 4 Feb 2010 02:17
Problem with __init__.py in Python3.1
En Thu, 04 Feb 2010 01:00:56 -0300, Hidura <hidura(a)gmail.com> escribi�: Good evening list, I have a really big trouble with the imports in the 3.1 version(Notes: In the older 2.64 theres no problems), I have two packages, the first package Utilities who contains Writer the second package, Writ... 22 Feb 2010 09:36
First  |  Prev |  Next  |  Last
Pages: 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215