#python - Thu 15 Mar 2007 between 00:05 and 00:35

NY Lost Funds



alusso for GC do I use self->ob_type->tp_free((PyObject*) self); or PyObject_GC_Del(self); ?
LinuxNITis there a way to get configparser to ignore white spaces before a variable in the sections?
CSWookiesunru: How goes it?
red_herringlater everyone
actionred_herring tips his hat
red_herringtips his hat
joedjalus: ordinarily you just need Py_INCREF / Py_DECREF
JRowealright, back to work time
so if I use def __init__(self, server_list, nickname, realname, reconnection_interval=60):
"""Constructor for SingleServerIRCBot objects.
can i just set the variables prior to that code ?
like nickname = 'TestBot' ?
ironfroggyyou mean, assign to nickname first, and then call your class and it knows what nickname is?
JRoweyes
ironfroggyabsolutely not.
JRoweok
ironfroggydo you not understand how a function call works?
sunruCSWookie: hey
ironfroggyhow you pass arguments in according to the parameter list?
JRoweim used to autoit code, actually
so, no, not a clue
ironfroggywhat?
how long have you been using python, JRowe?
JRowesome 3 nights now
slowly learning :)
CSWookiesunru: How is it with you?
ironfroggyhmm... somehow i thought id seen you around here longer.
JRowenah
i just talk too much
ironfroggywell, you should understand functions before your own classes, rather than both at once.
are you going through the standard tutorial?
JRowenot really
i have a bunch of books, i should refr to those, heh
sunruCSWookie: good just trying to improve my python
CSWookiesunru: Always a worthwhile activity.
sunruCSWookie: yeh im going to use simpletal on some ODT templates.
CSWookie: you did the numbers2words for me didnt you?
CSWookiesunru: I did.
ironfroggyit would be helpful to go through the tutorial. its layed out well.
you should not have been hitting classes before functions.
CSWookiesunru: I've been doing a fair bit of Tal myself lately. My employer is a Zope3 shop.

Page: 2 9 16 23 30 37 44 51 58 65 72 79 86 

IrcArchive

NY Lost Funds