#python - Thu 15 Mar 2007 between 13:13 and 13:37



aidehuaI'm having trouble with setuptools and mod_python. A python CGI script can find my eggs, but the same python running under mod_python can't! Any tips?
computerlinguistreagleBRKLN: http://docs.python.org/lib/typesseq-strings.html
reagleBRKLNthanks
computerlinguistreagleBRKLN: http://docs.python.org/lib/typesseq.html
reagleBRKLN: for the tuple * n thing
reagleBRKLNcool, hopefully i'll remember the placeholders
clajo04Question - is there a reference somewhere that describes the differences between "new style classes" and "old style classes"? Specifically, it seems that new style classes klass.__dict__ returns a dictproxyobject, whereas old style classes klass.__dict__ return regular dictionaries...
polpakclajo04: new style classes have quite a few more features
Yhg1sclajo04: that's just an implementation detail
Juhazhttp://www.python.org/doc/newstyle.html
Yhg1sclajo04: but yes: www.python.org/2.2.3/descrintro.html
as well as some PEPs (I think they're referenced from that page.)
clajo04Okay - thanks...
Juhazor sub-pages, the first link is the most important, and the one that has links to the peps.
MTecknologyI'm trying to get PyISAPIe so I can finish setting up python on my server... the SF dload page seems dead... anywhere I can get it?
if it's dead, does anybody know what I should use?
luksMTecknology: the download page seems to work for me
anyway, here is a direct link to some mirror - http://mesh.dl.sourceforge.net/sourceforge/pyisapie/PyISAPIe-v1.0.3.zip
MTecknologyluks: i tried again and it still won't load :S - ty for the direct link, that works :)
Mnabilhello, i did a program in C language that stick under tcp and udp connection, and listen to data from diff. ports and encypt it on windows OS can i do this with python on windows too ???
TFKyledepends on how it worked I guess
MnabilTFKyle, can you explain more ?
Ind[y]Mnabil: Of course.
TFKyleif it was done as a dll that the socket lib loaded or something probably not, if it was an app doing some platform-specific sniffing and packet modification it might be possible via. ctypes or pywin32
gpoloyou can access dlls using python
polpakTFKyle: I think he's asking if he can implement a similiar thing in python, not whether he can use his C program from within python
TFKylegpolo: I'm saying if the "app" was a dll itself
Ind[y]Mnabil: Just use the socket (and/or asyncore) module(s) of the Python Standard Library.
pyguyyok
hi
plz help
how do i list the symbols i import
when i say from bob import *
how do i see what bob added to main/this
polpakpyguyy: don't do that
TFKylepyguyy: from bob import thing1, thing2
Ind[y]pyguyy: import bob
polpakpyguyy: import * is bad
TFKyleah, yeah
Mnabilpolpak, that's right

Page: 3 10 17 24 31 38 45 52 59 66 73 80 

IrcArchive