473,805 Members | 2,007 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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
23 1939
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.comh a scritto nel messaggio
news:1h******** *************** ****@mac.com...
Jake Emerson <ja**********@o nerain.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.389 754@athnrd02>,
IOANNIS MANOLOUDIS <al***@ath.fort hnet.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**@pythoncra ft.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**@pythoncra ft.comwrote:
In article <1152405704.389 754@athnrd02>,
IOANNIS MANOLOUDIS <al***@ath.fort hnet.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.fort hnet.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

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

Similar topics

14
2486
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 titles... so, my question finally is: what book could be for a Python beginner - but NOT a programming beginner - which intends to develop *windowed* Python programms and intends to develop for Windows and for Linux? for example, look at Thuban...
9
2251
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
4126
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 compilers and interpreters, was introduced to Python and came to like it. I wondered if there are any more recent interviews/articles from ESR on his scripting language tools. I would be interested to know if he still usesPython? Did he try any...
2
1517
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 know the possibilities of Win32 programming with python a little better. In this context I stumbled over the book mentioned in the title, which really looks like what I´ve been looking for, but I am a little afraid because it was published 4...
5
1581
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 and a book I found at the library - Martin Brown's The Complete Reference Python. Is there a standard classic book to learn from that I could buy ? Say something like Metcalf and Reid's Fortran 90/95 Explained or Kernighan
9
1823
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 (on flipping through the pages), but the problem is it deals only with version 2.0 of Phython.
3
1100
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
2078
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 the program I am not having any trouble with but the GUI part I am (or more accurately, the transition between GUI pieces).
15
1900
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
10604
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10356
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10361
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10103
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9179
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7644
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6874
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5676
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3839
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.