By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,427 Members | 1,354 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,427 IT Pros & Developers. It's quick & easy.

Learning more about "The Python Way"

P: n/a
Those who have read my posts today have probably understood that I'm
not a "true" Python programmer ... but I want to learn more (I think
that Python is rather fun).

I've read "Learning Python" pretty thoroughly, I've looked at some of
the tutorials, some of online documentation, etc. But I still miss a
lot of pieces for writing good python code, idioms, advanced
usage/features, etc.

I've also seen a lot of references to v3, but I haven't found any
real documentation of what's planned for that version.

So, I'm looking for advice/information on:

+ How to write "proper" python code instead of
Java/Perl/C/C++/Pascal/Modula-2/etc inspired code

+ The more advanced parts/uses of Python

+ Discussions about the ideas behind different Python
constructs

+ What's going to happen with v3

I would really appriciate some pointers to where I can find info
about this. Web sites (I've looked at python.org but haven't manage
to find the stuff of what I'm looking for ... but perhaps I've missed
all the interesting parts) ? Books (I've got 'Learning Python' and
'Programming Python')? Other things?

jem
Jul 19 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a
Kalle Anke napisał(a):
So, I'm looking for advice/information on:

+ How to write "proper" python code instead of
Java/Perl/C/C++/Pascal/Modula-2/etc inspired code


Just follow the white rabbit.

Rewrite your code in Python, then optimize.

--
Jarek Zgoda
http://jpa.berlios.de/ | http://www.zgodowie.org/
Jul 19 '05 #2

P: n/a
> Just follow the white rabbit.
This triggers in me the temptation to start
a thread asking:

What (in your opinion) can a good programmer
learn from watching all of the Matrix movies?
Which part, one, two or three deals most with
the philosophy of programming?

Claudio

"Jarek Zgoda" <jz****@gazeta.usun.pl> schrieb im Newsbeitrag
news:d8**********@nemesis.news.tpi.pl...
Kalle Anke napisał(a):
So, I'm looking for advice/information on:

+ How to write "proper" python code instead of
Java/Perl/C/C++/Pascal/Modula-2/etc inspired code


Just follow the white rabbit.

Rewrite your code in Python, then optimize.

--
Jarek Zgoda
http://jpa.berlios.de/ | http://www.zgodowie.org/

Jul 19 '05 #3

P: n/a
"Kalle Anke" wrote:
[snipped]

So, I'm looking for advice/information on:

+ How to write "proper" python code instead of
Java/Perl/C/C++/Pascal/Modula-2/etc inspired code

+ The more advanced parts/uses of Python

+ Discussions about the ideas behind different Python
constructs
For all these, do yourself a favor and buy/borrow/steal a copy of the
python cookbook, 2nd edition. You'll get over 300 recipes, ranging from
simple one-liners to full working programs, packed with pythonic idioms
and extensive discussion for every single recipe.
+ What's going to happen with v3


Google is your friend; search for "python 3000" (interestingly,
searching for "python 3" returns something completely different :-)).

George

Jul 19 '05 #4

P: n/a
Claudio Grondi wrote:
Just follow the white rabbit.

This triggers in me the temptation to start
a thread asking:

What (in your opinion) can a good programmer
learn from watching all of the Matrix movies?
Which part, one, two or three deals most with
the philosophy of programming?

IMO, in my opinion almost certainly the first.

The first can be summed up in the words, "free your mind." From my very
limited experience, that captures 90% of the Zen right there.

The second... uh... "dancing rave orgies are fun?" Doesn't quite work.

The third is entirely inappropriate, since it's rather hard to program
in Python after one has gouged one's eyes out with a rusty spoon.
Jul 19 '05 #5

P: n/a
Kalle Anke wrote:
Those who have read my posts today have probably understood that I'm
not a "true" Python programmer ... but I want to learn more (I think
that Python is rather fun).

I've read "Learning Python" pretty thoroughly, I've looked at some of
the tutorials, some of online documentation, etc. But I still miss a
lot of pieces for writing good python code, idioms, advanced
usage/features, etc.

I've also seen a lot of references to v3, but I haven't found any
real documentation of what's planned for that version.

So, I'm looking for advice/information on:

+ How to write "proper" python code instead of
Java/Perl/C/C++/Pascal/Modula-2/etc inspired code

+ The more advanced parts/uses of Python

+ Discussions about the ideas behind different Python
constructs

+ What's going to happen with v3

I would really appriciate some pointers to where I can find info
about this. Web sites (I've looked at python.org but haven't manage
to find the stuff of what I'm looking for ... but perhaps I've missed
all the interesting parts) ? Books (I've got 'Learning Python' and
'Programming Python')? Other things?

jem


latest edition of the Python Cookbook (read a review here
http://www.techbookreport.com/tbr0163.html). Also online at ActiveState.
Jul 19 '05 #6

P: n/a
Jim
Have you seen the Zen of Python
http://www.python.org/peps/pep-0020.html
? Like a lot of humor, it has a lot of truth in it.

Jim

Jul 19 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.