First  |  Prev |  Next  |  Last
Pages: 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101
How do subprocess.Popen("ls | grep foo",shell=True) with shell=False?
On 6/10/2010 11:40 AM, Chris Seberino wrote: Even if zombies are created, they will eventually get dealt with my OS w/o any user intervention needed right? Bad approach. Years ago I inherited a server that didn't do a proper cleanup pf its slaves. After a few days running, people discovered that the machin... 11 Jun 2010 03:47
simple chat server
Hi, I am using ubuntu lucid and i have started to learn python(vrs 3.1). I am trying to make a tutorial code(see below) work but when i run the code, open a terminal window and connect as client with telnet and type somethings and hit enter, give me error below...(the terminal says connection closed by foreign h... 12 Jun 2010 20:24
MySQLdb problems with named pipe connection on Windows 7?
MySQLdb won't connect to my MySQL 5.1 on on Windows 7. This worked on Windows 2000, but of course I've had to reinstall everything. The MySQL command line client, "mysql", connects to the database without problems. Installed: ActiveState Python 2.6 (Win32) "mysql-essential-5.1.47.win32.msi" ... 11 Jun 2010 14:47
What's the difference?
Someone helped me with some code yesterday and I'm trying to understand it. The way they wrote it was subjects = (info[2] for info in items) Perhaps I'm not truly understanding what this does. Does this do anything different than if I wrote for info[2] in items subject = info[2] Thanks! Anthony ... 10 Jun 2010 21:15
Decimal problem
Hi! In the prev. week I tested my home Python projects with KinterBasDB embedded, PsyCOPG, and SQLite. All of them worked well, and everything was good. But the database blob table deletion was slow in SQLite, so I thought I will try this with FireBird and PGSQL. Today I tried to copy the SQLite DataBase ... 11 Jun 2010 04:52
ANN: ActivePython 2.7.0c1.0 is now available
We are pleased to announce the availability of ActivePython 2.7.0c1.0. http://www.activestate.com/activepython This release corresponds to the recently released Python 2.7 RC1, and, like ActivePython 2.6, includes the Python Package Manager (PyPM) with essential packages such as Distribute, virtualenv, pip an... 10 Jun 2010 15:40
How do subprocess.Popen("ls | grep foo", shell=True) with shell=False?
On Jun 10, 6:52 am, Nobody <nob...(a)nowhere.com> wrote: Without the p1.stdout.close(), if the reader (grep) terminates before consuming all of its input, the writer (ls) won't terminate so long as Python retains the descriptor corresponding to p1.stdout. In this situation, the p1.wait() will deadlock. ... 10 Jun 2010 12:14
including pygments code_block directive in rst2* from docutils
I would like to simply extend the rst2* scripts bundled with docutils to include a code_block directive. I have found a number of sites that discuss the topic, but I guess I am new enough to docutils to still be wondering how to make it actually happen. I'm looking to convert a single .rst file to bother html and... 10 Jun 2010 12:14
Py++, boost and python type mismatch error
I have a simple C++ library (from a dll) I am attempting to make accessible through bindings to python. I used Py++ to generate some boost code for the library that I compiled into a pyd. I can import the pyd no problem into python, but I can't seem to call the functions. struct MM_Api { void* pData; }... 10 Jun 2010 12:14
Deformed Form
On 6/10/10 7:14 AM, Victor Subervi wrote: Hi; I have a script that calls values from the form that calls it. This script imports another script: from New_Passenger import New_Passenger def create_edit_passengers3(): ... new_passengers_curr_customers = New_Passengers_Curr_Customers(custo... 16 Jun 2010 14:21
First  |  Prev |  Next  |  Last
Pages: 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101