S
Sybren Stuvel
Mirco Wahab enlightened us with:
Nah, sorry. I fancy girls more than I fancy T-shirts.
Sybren
Nah, sorry. I fancy girls more than I fancy T-shirts.
Sybren
bruno said:Well, I haven't be really impressed the first time - note that it was at
the very end of the last century, with v1.5.2.
Max said:1.5.2 was an excellent version. Not really that different in use than
current version.
bruno said:Nope, "not really that different" - we were just missing list-comps,
generators, new-style classes, classmethods, staticmethods, usable
metaclasses, descriptors, @decorators sugar, extended slices, and a few
other goodies coming in 2.5 like coroutines and with: statement...
Max said:I wrote "different in use".
Which is not the same as saying it has not
changed. The general feel of coding in Python is exactly the same to me.
I believe that most of those changes you mention are rarely used by most
programmers.
John said:Did you have to learn it for a job?
Or did you just like what you saw and decided to learn it for fun?
Also, how did you go about learning it? (i.e., like I described
above, I started with the main stuff then moved on to the different
available frameworks)
Was there any necessity in the specifics you learned, or did you just
dabble in something (e.g. wxPython) for fun?
Are there still some things you feel you need to learn or improve?
BartlebyScrivener said:You bet.
I have lots of these.
Especially a large dictionary that is
kind of an application and site launcher. I type "l clp" at the command
line, and l.py runs a function def launch(obj), which grabs the key
"clp" whose value is this site address, and I'm browsing clp. Kind of
like favorites with no mouse. Or another dictionary with applications.
Same way. They work fine. I guess they aren't complex enough to require
classes yet?
I appreciate the tips. I'll do a couple tutorials and read my books and
then come back with any OO questions.
John said:Did you have to learn it for a job?
Or did you just like what you saw and decided to learn it for fun?
Also, how did you go about learning it? (i.e., like I described above, I
started with the main stuff then moved on to the different available
frameworks)
Was there any necessity in the specifics you learned, or did you just
dabble in something (e.g. wxPython) for fun?
Are there still some things you feel you need to learn or improve?
Additional comments/complains here:
to values ? Then you probably have dicts with a known, defined
structure, and functions working on it. What classes (and hence 00)
gives you is a way to associate these functions with the dicts
themselves. That is the big intuition about objects, the rest is just
details.
BartlebyScrivener said:Bruno,
Ever seen this from Fuzzyman? It explicitly uses the dict comparison.
http://www.voidspace.org.uk/python/articles/OOP.shtml#introduction
Thanks for the tip,
Bruno said:Nope - and the site seems to be down actually. But thanks for the
pointer anyway.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.