Choose your Python version:
If you want to learn the current
or download the PDF
If you want to learn the new
, read here
ordownload the PDF
You can also buy a printed hardcopy.
'A Byte of Python' is a book on programming using the Python language. It serves as atutorial or guide to the Python language for a beginner audience. If all you know aboutcomputers is how to save text files, then this is the book for you.
This book is updated for the new Python 3.0 language.
If you are looking for a tutorialon the current Python 2.x version, please download the previous revision of the book
. Onthe same note, if you're wondering whether to learn Python 2.x or 3.x, then read this articleby James Bennett
Who Reads 'A Byte of Python'?
Here are what people are saying about the book:
Feedback From Readers
This is the best beginner's tutorial I've ever seen! Thank you for your effort.-
(wmich50-at-theramp-dot-net)You've made the best Python tutorial I've found on the Net. Great work. Thanks!-
(joshrob-at-poczta-dot-onet-dot-pl)Hi, I'm from Dominican Republic. My name is Pavel, recently I read your book 'A Byteof Python' and I consider it excellent!! :). I learnt much from all the examples. Yourbook is of great help for newbies like me...-
(pavel-dot-simo-at-gmail-dot-com)I recently finished reading Byte of Python, and I thought I really ought to thank you. Iwas very sad to reach the final pages as I now have to go back to dull, tedious oreillyor etc. manuals for learning about python. Anyway, I really appreciate your book -
(sy-one-three-seven-at-gmail-dot-com)Dear Swaroop, I am taking a class from an instructor that has no interest in teaching.We are using Learning Python, second edition, by O'Reilly. It is not a text for beginnerwithout any programming knowledge, and an instructor that should be working inanother field. Thank you very much for your book, without it I would be cluless aboutPython and programming. Thanks a million, you are able to 'break the message down'to a level that beginners can understand and not everyone can.-
(jduarte1-at-cfl-dot-rr-dot-com)I love your book! It is the greatest Python tutorial ever, and a very useful reference.Brilliant, a true masterpiece! Keep up the good work!-