473,320 Members | 1,853 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,320 software developers and data experts.

first book about python

I want to learn python.
I plan to buy a book. I always find printed material more convenient than
reading on-line tutorials.
I don't know PERL or any other scripting language. I only know some BASH
programming. I am looking for a book which will help me get started and
should contain the foundations. I am not looking for the Python bible.
Any recommendations?
Ioannis

Jul 9 '06 #1
23 1882
I don't know, if I were the genious that made up Python I would not believe
in any bible (small b)

IOANNIS MANOLOUDIS wrote:
I want to learn python.
I plan to buy a book. I always find printed material more convenient than
reading on-line tutorials.
I don't know PERL or any other scripting language. I only know some BASH
programming. I am looking for a book which will help me get started and
should contain the foundations. I am not looking for the Python bible.
Any recommendations?
Ioannis
Jul 9 '06 #2
Try "Learning Python" which is part of the O'Reilly series of books
they publish on computer programming. It's a good start. Most public
library systems have copies you can check out, and most larger
bookstores have it. Otherwise there's always Amazon.Com. Welcome to
Python and enjoy!

IOANNIS MANOLOUDIS wrote:
I want to learn python.
I plan to buy a book. I always find printed material more convenient than
reading on-line tutorials.
I don't know PERL or any other scripting language. I only know some BASH
programming. I am looking for a book which will help me get started and
should contain the foundations. I am not looking for the Python bible.
Any recommendations?
Ioannis
Jul 9 '06 #3
Philippe Martin wrote:
I don't know, if I were the genious that made up Python I would not believe
in any bible (small b)
Take it to alt.religion please.
I want to learn python.
I plan to buy a book. I always find printed material more convenient than
reading on-line tutorials.
I had the same problem as you. I heard lots of good things about
Python, but was unable to sit myself down in front of my computer long
enough to learn it. So I picked up a copy of Learning Python and read
the entire thing in a night.

http://www.amazon.com/gp/product/059...120028?ie=UTF8

I'm sorry I can't really do a comparison between different books, this
being the only one I bought, but it got me to the point where I could
start playing with code and reading the online documentation (which is
superb).

Coming from a relatively strong background in Java and C++, this book
was very easy to digest. The book is not a "teaching programming" book,
so unless you have experience in at least one real language programming
language, it might not be worth your time.

My only complaint about this book is the confusing way it presenting
Python's OOP model and the way they present for loops (they make it
sound like for loops are 100 times slower than in Java or C++... They
don't get the actual point across effectively, that they are just
different.)

Jul 9 '06 #4
In article <1152405704.389754@athnrd02>,
IOANNIS MANOLOUDIS <al***@ath.forthnet.grwrote:
>I want to learn python.
I plan to buy a book. I always find printed material more convenient than
reading on-line tutorials.
I don't know PERL or any other scripting language. I only know some BASH
programming. I am looking for a book which will help me get started and
should contain the foundations. I am not looking for the Python bible.
Any recommendations?
Ioannis
http://groups.google.com/group/comp....39b0fbd9c04db8

http://groups.google.com/groups?as_q...p.lang.python*

http://diveintopython.org/
Jul 9 '06 #5
>I always find printed material more convenient than
>reading on-line tutorials.
If you are sure you want a book and not online tutorials, then it's
important that you have many code examples which include both the
statements and the results. You may like Chris Fehily's Python Visual
Quickstart Guide for this.

http://www.amazon.com/exec/obidos/as...43/inscape-20/

It's long in the tooth (only covers up to 2.2 and doesn't get too much
into OO), but it features abundant examples running in columns right
alongside lucid explanations of how Python works.

rd

Jul 9 '06 #6
On Sat, 08 Jul 2006 14:41:52 -1000, IOANNIS MANOLOUDIS
<al***@ath.forthnet.grwrote:
I want to learn python.
I plan to buy a book. I always find printed material more convenient than
reading on-line tutorials.
I don't know PERL or any other scripting language. I only know some BASH
programming. I am looking for a book which will help me get started and
should contain the foundations. I am not looking for the Python bible.
Any recommendations?
Ioannis
I started out w/ "Learning Python" from O'Reilly which is good for a nice,
general overview of the language but I wanted something more detailed. I
found the "Python Learn to Program" textbook from Deitel & Deitel to be
very good. It's based on v2.2 but it still has practical use. Since it's
a text book it has many examples and small problems to try as you develop
your skills. If you can find it used online you should be able to get it
<$40.
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Jul 9 '06 #7
IOANNIS MANOLOUDIS <al***@ath.forthnet.grwrites:
I plan to buy a book. I always find printed material more convenient than
reading on-line tutorials.
Why not print out the on-line tutorial and read the hardcopy?
Jul 9 '06 #8
There have been lots of recommendations for the O'Reilly book, which is
a good one. However, I would recommend "Beginning Python" by Magnus Lie
Hetland. All I knew before starting Python was Mathematica, and this
book was very helpful. It may seem to start out slow, but I've found
that I'm going back to those first chapters occasionally to review and
practice the syntax. It, and this group, have carried me through some
pretty tough problems (for me anyway). It's been worth it. Good luck.

Jake

Jul 9 '06 #9
Jake Emerson <ja**********@onerain.comwrote:
There have been lots of recommendations for the O'Reilly book, which is
a good one. However, I would recommend "Beginning Python" by Magnus Lie
Hetland. All I knew before starting Python was Mathematica, and this
book was very helpful. It may seem to start out slow, but I've found
that I'm going back to those first chapters occasionally to review and
practice the syntax. It, and this group, have carried me through some
pretty tough problems (for me anyway). It's been worth it. Good luck.
Hetland's books are excellent, particularly if you like to learn by
example -- I believe the current one "Practical Python" is meant to
supersede the earlier "Beginning Python" (but I'm not sure).
Alex
Jul 9 '06 #10
I read almost every published book about Python and I found Magnus'
"Beginning Python" the best book to start with. As Alex said it is
particularly appreciated by those who like learning by examples and by "try
and error": it is actually the opposite to what Alex believed as "Beginning
Python" is meant to be a sort of update of the previous book "Practical
Python".

In addition and maybe before of Magnus book I would suggest "A byte of
Python" http://www.byteofpython.info/ the best fast introduction to Python I
have ever seen.

"Alex Martelli" <al***@mac.comha scritto nel messaggio
news:1h***************************@mac.com...
Jake Emerson <ja**********@onerain.comwrote:
There have been lots of recommendations for the O'Reilly book, which is
a good one. However, I would recommend "Beginning Python" by Magnus Lie
Hetland. All I knew before starting Python was Mathematica, and this
book was very helpful. It may seem to start out slow, but I've found
that I'm going back to those first chapters occasionally to review and
practice the syntax. It, and this group, have carried me through some
pretty tough problems (for me anyway). It's been worth it. Good luck.

Hetland's books are excellent, particularly if you like to learn by
example -- I believe the current one "Practical Python" is meant to
supersede the earlier "Beginning Python" (but I'm not sure).
Alex

Jul 9 '06 #11
In article <1152405704.389754@athnrd02>,
IOANNIS MANOLOUDIS <al***@ath.forthnet.grwrote:
>
I want to learn python.
I plan to buy a book. I always find printed material more convenient than
reading on-line tutorials.
I don't know PERL or any other scripting language. I only know some BASH
programming. I am looking for a book which will help me get started and
should contain the foundations. I am not looking for the Python bible.
Any recommendations?
If you're willing to wait 1.5 months, _Python for Dummies_ will be the
first book that really covers Python 2.5. (Alex's _Python in a Nutshell_
does cover some of Python 2.5, but there were a fair number of late
changes that came after he needed to turn it in, most notably the
inclusion of sqlite3. It's also not a beginner book.)
--
Aahz (aa**@pythoncraft.com) <* http://www.pythoncraft.com/

"I saw `cout' being shifted "Hello world" times to the left and stopped
right there." --Steve Gonedes
Jul 9 '06 #12
I thank everybody for your replies.
I think I'll get Hertland's book since it's newer than O'reillys.
I don't want to become a programmer. Neither Python is part of my studies.
I've finished with my studies. I want to become a Unix/Linux admin and
knowledge of either Python or Perl is an asset.
Do you think that this book is the right one for me?
Ioannis

Jul 9 '06 #13
Aahz <aa**@pythoncraft.comwrote:
In article <1152405704.389754@athnrd02>,
IOANNIS MANOLOUDIS <al***@ath.forthnet.grwrote:

I want to learn python.
I plan to buy a book. I always find printed material more convenient than
reading on-line tutorials.
I don't know PERL or any other scripting language. I only know some BASH
programming. I am looking for a book which will help me get started and
should contain the foundations. I am not looking for the Python bible.
Any recommendations?

If you're willing to wait 1.5 months, _Python for Dummies_ will be the
first book that really covers Python 2.5. (Alex's _Python in a Nutshell_
does cover some of Python 2.5, but there were a fair number of late
changes that came after he needed to turn it in, most notably the
inclusion of sqlite3. It's also not a beginner book.)
I confirm on both scores: the Nutshell is not meant for beginners to
programming (it _may_ be used by experienced programmers whose
experience comes from other languages, but it may be a stretch even for
them, depending on what "other languages" are exactly); and, the new 2nd
edition of the Nutshell does not cover well the big additions to Python
2.5's standard library (ctypes and etree, as well as sqlite) -- it
barely _mentions_ them as late-breaking developments, with pointers to
online docs. Stef's and Aahz's "for Dummies" will be a good book for
beginners (many people have prejudices against the whole "for Dummies"
series, perhaps exactly because of their titles!, but, really, there ARE
many good books in that series, if you can just accept the titles as
well-natured, innocuous humor!) -- I only looked at a subset of its
chapters, so I don't know in particular how well it teaches sqlite,
ctypes and etree, but the materials I _did_ look at were excellent.
Alex
Jul 9 '06 #14
IOANNIS MANOLOUDIS <al***@ath.forthnet.grwrote:
I thank everybody for your replies.
I think I'll get Hertland's book since it's newer than O'reillys.
I don't want to become a programmer. Neither Python is part of my studies.
I've finished with my studies. I want to become a Unix/Linux admin and
knowledge of either Python or Perl is an asset.
Knowledge of _both_ languages is even better for this specific task:
many existing sysadm scripts are in Perl, and you may well be working
side by side with other, more senior admis who are dyed-in-the-wool Perl
hackers (since Perl is so very popular with that crowd).
Do you think that this book is the right one for me?
Actually, particularly if you have any interest at all in possibly
working in a mixed-platforms environment (including some Macs and/or
Windows boxes as well as Linux), you might be better served by
<http://www.oreilly.com/catalog/perlsysadm/-- at least if you accept
my suggestion to get SOME familiarity with Perl as well as with Python.

Yes, Perl IS harder to learn, BUT -- if you've already decided to learn
both languages, starting with the harder one need not be a bad idea (the
Romans' legions, back when they were the best soldiers in the world,
trained with armor and weapons *heavier* than the ones they actually
used in the field -- being used to heavier stuff gave them more agility
and stamina when it most mattered, in battle and on long marches!-).
Alex
Jul 9 '06 #15
al***@mac.com (Alex Martelli) writes:
Yes, Perl IS harder to learn, BUT -- if you've already decided to learn
both languages, starting with the harder one need not be a bad idea (the
Romans' legions, back when they were the best soldiers in the world,
"Learning Perl" is actually a very well-written book for beginning
programmers. The only thing wrong with it is it's about Perl...
Jul 9 '06 #16
I guess it's better to wait for the for dummies book.
I should focus instead in taking the LPIC-2 exams in September.
Ioannis
Jul 10 '06 #17

IOANNIS MANOLOUDIS wrote:
I want to learn python.
I plan to buy a book. I always find printed material more convenient than
reading on-line tutorials.
I don't know PERL or any other scripting language. I only know some BASH
programming. I am looking for a book which will help me get started and
should contain the foundations. I am not looking for the Python bible.
Any recommendations?
Ioannis
Printed: Magnus Hetland's latest book, the Wrox book and OReilly
Learning Python are all good. Chun's "Core Python" will be updated and
released soon, that will be good too.

Tutorials on Awaretek.com
http://awaretek.com/tutorials.html
cause it's always good to see something explained different ways.

Jul 10 '06 #18
tac-tics wrote:
Philippe Martin wrote:
>>I don't know, if I were the genious that made up Python I would not believe
in any bible (small b)


Take it to alt.religion please.

Take it to alt.narrow-mondedness please.

regards
Steve
--
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Skype: holdenweb http://holdenweb.blogspot.com
Recent Ramblings http://del.icio.us/steve.holden

Jul 10 '06 #19
Learning Python, Perl, or Ruby would help you create admin scripts that
would save you lots of manual work. For me automated log file alerting,
SQL query parsing, SQL table updates, Internet file
uploading/downloading, etc. has been a huge plus. Perl is likely the
most widely used in terms of existing scripts that you can review,
modify, borrow ideas from, etc.

But from a long term maintainability and readability standpoint I would
recommend Python or Ruby over Perl. Just my $0.02...

IOANNIS MANOLOUDIS wrote:
I thank everybody for your replies.
I think I'll get Hertland's book since it's newer than O'reillys.
I don't want to become a programmer. Neither Python is part of my studies.
I've finished with my studies. I want to become a Unix/Linux admin and
knowledge of either Python or Perl is an asset.
Do you think that this book is the right one for me?
Ioannis
Jul 10 '06 #20
IOANNIS MANOLOUDIS wrote:
I want to learn python.
I plan to buy a book. I always find printed material more convenient than
reading on-line tutorials.
I don't know PERL or any other scripting language. I only know some BASH
programming. I am looking for a book which will help me get started and
should contain the foundations. I am not looking for the Python bible.
Any recommendations?
Ioannis
I definitely recommend Learning Python (2nd ed.) from O'Reilly.

Despite what some may say, I do *not* recommend Beginning Python
(Apress) because it moves too quickly for a beginner and doesn't explain
everything fully.
Jul 10 '06 #21
On Sun, 09 Jul 2006 03:41:52 +0300
IOANNIS MANOLOUDIS <al***@ath.forthnet.grwrote:
I want to learn python.
I am looking for a book which will help
me get started and should contain the foundations. I am not
looking for the Python bible. Any recommendations?
Ioannis
Hmm, no one has mentioned Python Programming for the Absolute
Beginner (second edition) by Michael Dawson.
http://www.amazon.com/gp/product/159...lance&n=283155

Yes, it's very game oriented, but it's also very newbie oriented.

I've slso downloaded some Python tutorials:

I've got the Python version of How to Think Like a Computer
Scientist:

http://www.ibiblio.org/obp/thinkCSpy/

And Dive into Python (available online as well as paper):

http://diveintopython.org/

Hope this helps.

CronoCloud (Ron Rogers Jr.)


Jul 12 '06 #22
I recommend "The Quick Python Book" by Harms and McDonald. Its
strength is its brevity and *readability* -- you can actually just sit
down and read it and enjoy it. It doesn't cover the newest features of
Python or the most advanced, but that is not necessary in a beginner's
book.

Once you're up to speed on Python, as a sysadmin you'll probably find
"Python Network Programming" useful. It is not a beginner's book, but
it is addressed to the kind of issues that you'll probably want to be
using Python for.

Jul 12 '06 #23
Once you are ready to take the plunge another good document is the
Python tutorial written by Guido Von Rossum himself
(http://docs.python.org/tut/). It's not a full fledged 300 page
manifesto but it's covers the basic of the language.

IOANNIS MANOLOUDIS wrote:
I guess it's better to wait for the for dummies book.
I should focus instead in taking the LPIC-2 exams in September.
Ioannis
Jul 12 '06 #24

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

Similar topics

14
by: Eduardo Patto Kanegae | last post by:
Hello, I have been programming with Visual Basic and PHP in the last 5 years and some folks had recommended Python a free language.... I had looked for a Python book to start up but found many...
9
by: km | last post by:
Hi all, What is the best book to start with python ? i am have been working since 1 yr with Perl. kindly enlighten, thanks, KM
8
by: Paddy McCarthy | last post by:
I just re-read "Why Python?" at http://www.linuxjournal.com/article.php?sid=3882 The article is from 2000 and shows how a programmer who programmed in many programming languages, and who wrote...
2
by: Piet | last post by:
Hi all, I started programming (or hacking) python some time ago. Since python offers a lot of Win32 specific extensions and since my OS will probably stay Win2k for the next time, I would like to...
5
by: Madhusudan Singh | last post by:
Hi I am trying to teach myself Python. I have extensive prior programming experience in Fortran, a little in C/C++, Pascal, etc. So far, I have been reading online tutorials at www.python.org...
9
by: santanu | last post by:
Hi all, I know a little python (not the OOP part) learnt by studying the online tutorial. Now I would like to learn it more thoroughly. I have access to 'Programming Python' which I liked...
3
by: west | last post by:
Can someone recommend a Python book for a newbie and perhaps you have a used one for sale? Thank you. Cordially, west
10
by: KDawg44 | last post by:
Hi, I am new to Python and am trying to write a little front end to another application in Python. What I want is to have a gui pop up listing some items with several buttons. The guts of...
15
by: dhr | last post by:
newbie question: Is there a 'K&R" type of Python book? The book that you'd better have on your shelf if you are going into Python?
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.