473,386 Members | 1,943 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

How did you learn Python?

I was just wondering what the best books were for learning Python.

Which books are good for getting started, and which should be saved for
later, or or not useful except as a reference for the learned?

I have a decent programming background in VB, JavaScript, VBScript,
Net.Data (IBM's macro language), regular expressions, and a teensy bit of
Perl. My point is, I don't want something that is going to explain the basic
programming concepts, but does give a good introduction to Python-specific
things. Then, once I know how to get the job done, I would like a good book
or two at the intermediate to advanced level, to learn how to write really good code.

I understand that resources such as this list and Google searches have all the answers,
but it seems like a more structured tool, such as a book or formal class, would be
of great benefit to me. The other languages I have used were picked up because of the
need to get a job done. As a result, I am able to get the job done, but anyexperienced
coder can show me six more efficient ways to do what I'm doing. I'm new to
Python, and I want to do this one right. I believe that Python will be
around for a good, long time, and it matches my values as an Open-Source/Linux
supporter, while having relevance in the Windows and Mac world, as well.
Plus, it looks like it was designed extremely well, and I'm excited about the
principles I've read about.

Thanks,
Shawn
Jul 18 '05 #1
5 1502
Am Fri, 03 Dec 2004 09:54:36 -0500 schrieb Shawn Milo:
I was just wondering what the best books were for learning Python.

Which books are good for getting started, and which should be saved for
later, or or not useful except as a reference for the learned?


Hi,

I learned a lot by reading the python cookbook.

Thomas

--
Thomas Güttler, http://www.thomas-guettler.de/
Jul 18 '05 #2
"Shawn Milo" <Sh*******@runbox.com> writes:
I was just wondering what the best books were for learning Python.

Which books are good for getting started, and which should be saved for
later, or or not useful except as a reference for the learned?

I have a decent programming background in VB, JavaScript, VBScript,
Net.Data (IBM's macro language), regular expressions, and a teensy bit of
Perl. My point is, I don't want something that is going to explain the basic
programming concepts, but does give a good introduction to Python-specific
things. Then, once I know how to get the job done, I would like a good book
or two at the intermediate to advanced level, to learn how to write really good code.

I understand that resources such as this list and Google searches have all the answers,
but it seems like a more structured tool, such as a book or formal class, would be
of great benefit to me. The other languages I have used were picked up because of the
need to get a job done. As a result, I am able to get the job done, but any experienced
coder can show me six more efficient ways to do what I'm doing. I'm new to
Python, and I want to do this one right. I believe that Python will be
around for a good, long time, and it matches my values as an Open-Source/Linux
supporter, while having relevance in the Windows and Mac world, as well.
Plus, it looks like it was designed extremely well, and I'm excited about the
principles I've read about.

Thanks,
Shawn

For those who already know scripting, Beazley's "Python Essential
Reference" is great. It *briefly* shows you how to do in python what
you already know how to do elsewhere. Other people tell me
"Essential" is too terse for learning and they are more comfortable
with Quick Python or Learning Python.

For more idioms and design patterns, see the Python Cookbook for
specific tasks, and then read the "example" or "sample" code with the
various add-on modules you happen to install.

For day in and day out reference, have the python html documentation
on your machine and a bookmark to it. Then read the "Library
Reference" whenever you need to remember the semantics/syntax of a
feature.

--
ha************@boeing.com
6-6M21 BCA CompArch Design Engineering
Phone: (425) 294-4718
Jul 18 '05 #3
Shawn Milo wrote:
How did you learn Python?

I was just wondering what the best books were for learning Python.


If you're open to options besides ink-on-tree, this is how I did it:

I read the official tutorial, trying stuff out in the interactive
interpreter when I didn't get something/had questions. Read the first
couple of sections of the Library Reference (especially the Built-in
objects/functions), skimming when you get to those long lists of
functions/objects. Decided "for language lawyers" was likely a joke;
read/skimmed the Language Reference (turns out it's half a joke). Then I
lurked on comp.lang.python.

I've since picked up a few books & looked at highly recommended on-line
tutorials. For the most part, they mainly repeat the stuff in the
official documentation and the stuff that isn't in there gets brought up
on c.l.py eventually. But YMMV, and you may prefer other tutorials to
the official one.

BTW, I've found the trickiest part of learning python really can't be
taught in books. I mean, it's stated in the books, but the words don't
really help. It's understanding the philosophy behind the way Python
does things, like the object/assignment model and object orientation,
that's key. This understanding comes from experience, and I think it's
something we're all still working on.

P.S. I haven't said yet how much I've appreciated the excellent
documetation the Python crew has put out. It was literally only an
afternoon before I had completed the tutorial and had a good impression
of what this "Python thing" was all about. I've since tried to do the
same with other languages (eg. OCaml & TCL), but haven't had as much
success. Kudos to Guido, Fred, and the others.
Jul 18 '05 #4
"Shawn Milo" <Sh*******@runbox.com> wrote in message news:<ma**************************************@pyt hon.org>...
I was just wondering what the best books were for learning Python.

Which books are good for getting started, and which should be saved for
later, or or not useful except as a reference for the learned?

If you have any interest in using Python for numerical computation
take a look at Python Scripting for Computational Science by Hans
Peter Langtangen. The book is quite expensive, about US $85, but well
worth it in my opinion as it covers just about all of the available
Python resources for numerical computation.
Jul 18 '05 #5
I started with the official tutorial, then Dive Into Python, followed
by Learning Python. I also regularly read the python-tutor mail list.
Jul 18 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

42
by: Bicho Verde | last post by:
I have now free time and money to do what I want :-) I have some basic skills in programming (C, Pascal, Macromedia Actionscript) but don't know exactly what to do in the world of programming. And...
24
by: Charif Lakchiri | last post by:
Okay, here's what I know so far about Python: It's an object-oriented scripting language, supported on many platforms. Now here are my questions: It is easy to learn? Does it support GUI...
14
by: Sam | last post by:
Hi, I have been developing sites and cms's for the past few years using PHP and mysql. I've been interested in learning a new language and was considering Python. I have a pretty decent grasp of...
8
by: Aziz McTang | last post by:
Hi Group, I am not an experienced programmer at all. I've learned html and css well enough to hand-write simple websites. I'm now looking to move to the next step. Initially, I'd like to do 3...
7
by: fyleow | last post by:
Hi guys, I'm a student/hobbyist programmer interested in creating a web project. It's nothing too complicated, I would like to get data from an RSS feed and store that into a database. I want...
5
by: Brian Blais | last post by:
Hello, I was wondering what the approximate minimum age to learn python is. Has anyone had experience teaching middle school students, or elementary school students Python? What brought this up...
9
by: Katie Tam | last post by:
I am new to this filed and begin to learn this langague. Can you tell me the good books to start with ? Katie Tam Network administrator http://www.linkwaves.com/main.asp...
18
by: Amol | last post by:
Hi, I want to learn Python in less than a month which resources should I use. I prefer to read books . Please give me a list of *recognized* resources. Thank You all
65
by: Chris Carlen | last post by:
Hi: From what I've read of OOP, I don't get it. I have also found some articles profoundly critical of OOP. I tend to relate to these articles. However, those articles were no more objective...
28
by: windandwaves | last post by:
Can someone tell me why I should learn python? I am a webdeveloper, but I often see Python mentioned and I am curious to find out what I am missing out on. Thank you Nicolaas
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.