#python - Fri 2 Mar 2007 between 16:25 and 16:46

NY Lost Funds



the_hoserevilx: look into sorting.
arkanesevilx: dicts have no order
exarkunevilx: try items()
the_hoserindeed.
evilxhum ok
arkanesevilx: for key in sorted(dict): print key, dict[key]
the_hoserexarkun: you try coding in c++ at your parents house with an evil little dog barking at you and snorting all day, and see if you are ideally suited to defend your statements :)
nemesis128in PyMethodDef, if I have a function that requires no arguments, I just pass NULL instead of METH_* ?
the_hoserand i can't even get my music streming to work :-(
evilxi like that alot thank you
sorted is what i wanted
insanekaneevilx: for key,value in dict.items():
evilxinsanekane, got it, thanks though
wth, xterm has unicode support. i wonder why it wont do any of the unicode
http://pastebin.com/892276
my code that bad huh? it sure did make this room go quite
sipherevilx: That just seems to happen in this chan. Sucks.
evilxheh
hyljepythonists are sensitive to bad code!!
anpi1973/lists
evilxi dont think it that bad
sipherA script I'm working on is total crap. Really sloppy.
So I just gave up on it
deximerWhats the best SOAP library for Python? I heard something new was being released for PyCon but I can not find anything
evilxmy script just a text translator.
koshevilx: most of it seems okay
the if len(argv) part and beyond should be in functions though
evilxkosh, ?
sipherhttp://dpaste.com/6330/ <-- That will make you feel better about your code. heh
evilxim just learning python :(
sipherdpaste has bastardized it by using a fixed with container
width*
but it's still crap
koshevilx: instead of all that code just being directly in there after that part I would put it in seperate functions with main function that is called
evilxoh gotcha
yeah i was going to end up doing that, so if it errors it can retry
main function?
you mean that init == '_MAIN_' thing?
exarkun__name__ == '__main__'
bytecolorkeeping your code < 80 cols solves that :)

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

IrcArchive

NY Lost Funds