|triplah_w||yeah, the gui editor dreates valid glade xml, why not use it?|
||Crys|||shriphani: What do you mean by calling? executing a program?|
|shriphani|||Crys|, i got a unction in a file.... i want to call it in my prog.....|
|triplah_w||for pygtk, just tell it not to output any code, just the raw .glade file|
|piedoggie||you should be able to add extra keywords to a logger format right?|
||Crys|||shriphani: sorry but I don't get it|
|triplah_w|||Crys|: he wants import|
he also needs to read the tute
in practical and theoretical terms
what the hell is the difference between a list and a tuple ?!
other than one printing with ('s
instead of ['s?
|Zesturian||Is there any reason, or any bugs that would cause a CONTENT_LENGTH header to report incorrectly?|
|Jerub||pyguyy: tuples can never be changed.|
pyguyy: neither in size, or in terms of the objects they contain. they can only be thrown away and replaced.
pyguyy: lists can be filled, refilled and emptied.
|ferguscan||I have a Python program (TurboGears web server) that's hanging on me. I am keen to diagnose the problem, but don't know where to start. Is there a debugger which allows me to latch onto an existing process?|
|yonkeltron||i really want one of the free thumb drives filled with marketing material|
|dhorner_||hey how do I redirect stdout to a file I spec using Popen()?|
I'm just learning python and don't yet fully understand streams and the way I need to use Popen
|gps||use the subprocess module, its easier|
|dhorner_||I thought Popen was subprocess modul|
|tsp||Ok, can someone check out http://tspivey.freeshell.org/pyp.txt and see how possible this is to write?|
|gps||oh sorry i misread the question|
|ludios||tsp: from __future__ import braces|
|gpolo||tsp, that is like 10 times more unreadable that python code without braces|
|tsp||it gave me a syntax error|
how is it unreadable? it sounds better, and brace matching commands can get at it
|gpolo||tsp, python wasnt created to use braces, get accostumed to it|
tsp, use a good editor too
|gps||dhorner_: i believe you open the file you want stdout to goto for writing and pass the open file object into Popen(..., stdout=myoutfile)|
(haven't tested it but thats my take on the documentation)