| |
| |
| |
|
Comments:
<0> Can I get help here with python? <0> ?? <1> I was thinking about responding to that <2> some people are just impatient.. <1> is there a command that compiles .py files to .pyc? <3> can all with a wap/gprs enabled phone please go to, http://wap.gudsbarn.se and then report back to me? =) the more that trys it, the better.. just tell me what cellphone you tried that with so i know =) <4> "thanks, it works perfectly!", Sony Ericsson K750i.
<3> cool <3> thanks :) <5> g'day all <6> hi <7> is it true that Guido van Rossum has ties with the 5th of September movement? <8> where's a good tutorial about using python and glade? <8> and what glue do i need? i have glade and libglade.. <6> twq: google ! <6> pygtk.org <8> what is this google you speak of <9> cool! a python chan <9> :D <8> >>> print widgets.widgets <8> <gtk.glade.XML object (PyGladeXML) at 0x842a6e4> <8> how can i see the dictionary? <1> uh, do you mean the attributes? :/ <1> or is this some glade thing? <8> nope it should be a plain dic, i want the attributes <8> unless its not <1> you can get a list of attribute names with dir() :/ <8> thanks that was exactly what i wanted <10> I forgot how its done but how do you get your modules name returned to you or the file it was loaded from <1> __name__ or __file__ <10> forgot about file <10> thanks <10> __name__ returns __main__ and no __file__ <1> how are you starting your program? <11> you're running the script directly, so it's not a module at all
<1> I'm pretty sure if you run a program normally, it's a module called __main__ <1> sys.modules['__main__'] => <module '__main__' from '/media/usbdisk/urk/urk.py'> <10> aah thanks thats it <10> madewokhe: its an automated task <11> same thing as being run normally <6> I've written a basic irc client but having trouble debugging it I always get connection timed out anyone have time to help me debug it ? <6> http://users.skynet.be/jonasg/main.py <12> My favorite is Cleese. <12> Oops <12> wrong python <1> [15:22:18] -irc.efnet.nl:madewokh`- *** Banned Please install identd to use this server. <1> that server is broken <13> identd is evil <1> if it's failing at s.connect(), it's probably a problem with your network rather than the script <6> madewokhe: it's not failing at connecting it's the ping and pong that's a problem I think <6> I always get connection timed out <1> ah <1> I can try connecting to it and get a log of the traffic <1> but it won't work because of identd <6> try an other server <6> that doesn't require identd <1> actually, have you tried just throwing in a "print line" in there? <1> oh <1> it's there <1> heh <1> s.send("PONG %s\r\n" % line[1]) <1> line[1] is the second character in the line <6> **** <6> line.split()[1] <6> madewokhe: thanks
Return to
#python or Go to some related
logs:
#c #gamedev #politics measuring boot times windows
#nhl #gamedev #gentoo csharp crlf #gentoo #delphi
|
|