#python - Mon 9 Apr 2007 between 13:56 and 14:33

NY Lost Funds



CarlFKpablo_: Py in a Nutshell is quick, but you better know a bit. Learning Py is good, but 500 pages took me months to read
aconberepablo_: dive into python is nice
undesktopI didn't have to read a book to learn Python :/
pablo_CarlFK: c,c++,java
aconbereundesktop: it's certainly not a requirement
pablo_aconbere: great, because there is a spanish translation also
CarlFKpablo_: java - will help. go for one of the smaller books like python in a nutshell
CSWookiepablo_: The tutorial is probably good for your kind, then.
CarlFKpablo_: http://es.diveintopython.org Inmersin en Python :)
TFKylehmm
CarlFKah, you saw that.
pablo_CarlFK: do you recommend that one or python in a nutshell?
actionTFKyle wonders how much he could abuse buildbot
TFKylewonders how much he could abuse buildbot
CarlFKpablo_: good q - I have read about 1/2 of each - both are good - dive.. I think was a bit quicker
pablo_ok thanks
CarlFKpablo_: but dive was the very first thing I read when I decided I wanted to learn python and ...nut was recient, so my concept of speed may be off
pablo_lol ok
my_hazhow do you flush stdout?
dandersonmy_haz: import sys
my_haz: sys.stdout.flush()
my_hazdanderson: thanks
Silveira_NetoI did a tutorial about overloading in Python, http://www.eupodiatamatando.com/2007/04/09/sobrecarga-de-operadores-em-python/, but its in portuguese. I'd like to know where can I spread that.
bytecolordef func(*vars): # overloaded :)
TFKyleheh
forgot **kwargs :)
bytecoloroh yeah...
I actually did that once, it worked ok
TFKylemade a func that checked what the args are and called different functions depending on what was passed?
bytecolornod
built a string of the arg types, parsed the string, called method X
TFKyleheh
nzkWhy is it when I write code it doesnt look like code
it looks like an essay
Does python use curly brackets?
hyljeno
but for dicts
TFKylenzk: yep, for dict definitions
bytecolor# { # }
nzk?
hylje{'key': value

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

IrcArchive

NY Lost Funds