#python - Fri 23 Mar 2007 between 00:52 and 01:46

NY Lost Funds



triplah_wyeah, the gui editor dreates valid glade xml, why not use it?
|Crys|shriphani: What do you mean by calling? executing a program?
triplah_wcreates*
jetsaredimo
shriphani|Crys|, i got a unction in a file.... i want to call it in my prog.....
triplah_wfor pygtk, just tell it not to output any code, just the raw .glade file
shriphani: import
piedoggieyou should be able to add extra keywords to a logger format right?
triplah_wshriphani: docs.python.org/tut
|Crys|shriphani: sorry but I don't get it
triplah_w|Crys|: he wants import
he also needs to read the tute
:P
pyguyyno seriously
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?
ZesturianIs there any reason, or any bugs that would cause a CONTENT_LENGTH header to report incorrectly?
Jerubpyguyy: 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.
ferguscanI 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?
yonkeltroni 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
gpsuse the subprocess module, its easier
dhorner_I thought Popen was subprocess modul
tspOk, can someone check out http://tspivey.freeshell.org/pyp.txt and see how possible this is to write?
gpsoh sorry i misread the question
ludiostsp: from __future__ import braces
gpolotsp, that is like 10 times more unreadable that python code without braces
tspit gave me a syntax error
how is it unreadable? it sounds better, and brace matching commands can get at it
ludioshttp://paste.pocoo.org/show/1194/
gpolotsp, python wasnt created to use braces, get accostumed to it
tsp, use a good editor too
tspsweet
gpsdhorner_: 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)

Page: 5 12 19 26 33 40 47 54 61 

IrcArchive

NY Lost Funds