background preloader

Python Books

Facebook Twitter

Practice makes Python. Is this book for me?

Practice makes Python

If you have read a Python tutorial, or took a Python programming course, but have used Python for less than one year, then you are just the person for whom I've aimed the book. You need to have a basic understanding of data structures and functions, but the book assumes that you're still a bit unsteady on these topics. I have found that many experienced Python programmers also benefit from these exercises, helping them to understand such topics as passing functions as creating complex data struturess, parameters, list comprehensions, and object-oriented techniques. What is in the videos? The two higher-level plans include access to each of the 50 videos that I am creating, one for each exercise. Five videos are currently available, each of which is 5-10 minutes long. An example video is here.

Writing Idiomatic Python Book. Python Books. Python Practice Book — Python Practice Book. Assignments — Problem Solving with Algorithms and Data Structures. Pro Python by Marty Alchin. Problem Solving with Algorithms and Data Structures — Problem Solving with Algorithms and Data Structures Python Resourcebook. Become a Programmer, Motherfucker. If you don't know how to code, then you can learn even if you think you can't.

Become a Programmer, Motherfucker

Thousands of people have learned programming from these fine books: Learn Python The Hard Way Learn Ruby The Hard Way Learn Code The Hard Way I'm also working on a whole series of programming education books at Learn C The Hard Way. Handbook of the Physics Computing Course. Expert Python Programming. Dive Into Python. Dive Into Python 3. Where The Rants Go. By Zed A.

Where The Rants Go

Shaw I've had it. Dive Into Python is one of the worst books for learning Python and it must die. I've had too many potential programmers find this book and get tripped up by its horrible design decisions that I'm declaring war. The book is weird, uses antiquated technology, has horrible examples, and Mark Pilgrim is too much of a neckbeard ass to listen to anyone about it: 09:42 @diveintomark @zedshaw Completely rewrite the first 3 chapters of a book I haven't touched in 6 years? 11:32 @diveintomark @zedshaw you sure do have a lot of opinions. This is his response to me saying that he should remove ODBC from his book.

This is just unheard of in the tech book scene. Meanwhile, Mr. Dive Into Python isn't just bad because of the use of ODBC, it's also just full of bad initial examples. A function, with a giant doc comment right away. Weird underscore variables with a bad font making it look like one underscore.

A dict, formatted with backslash chars that aren't even needed. Making Games with Python and Pygame. Book Description This is a programming book that covers the Pygame game library for the Python programming language.

Making Games with Python and Pygame

Each chapter gives you the complete source code for a new game and teaches the programming concepts from these examples. The book is available under a Creative Commons license and can be downloaded in full for free from This book was written to be understandable by kids as young as 10 to 12 years old, although it is great for anyone of any age who has some familiarity with Python. About the Authors Albert Sweigart (but you can call him Al), is a software developer in San Francisco, California who enjoys bicycling, volunteering, haunting coffee shops, and making useful software. He is originally from Houston, Texas. Data Structures and Algorithms with Object-Oriented Design Patterns in Python. Python. The Case for Test-Driven Development By Meghan Blanchette March 28, 2014 Harry Percival, author of Test-Driven Web Development with Python, discusses how he got into TDD, why you should too, and shares some tips.


In the podcast above, listen to Harry talk candidly about the types of tests that make sense, … Interface Languages and Feature Discovery By Ben Lorica March 2, 2014 Here are a few more observations based on conversations I had during the just concluded Strata Santa Clara conference. Four short links: 28 February 2014 By Nat Torkington February 28, 2014. Learn Python The Hard Way, 2nd Edition — Learn Python The Hard Way, 2nd Edition. A Byte of Python. You have seen how you can reuse code in your program by defining functions once.

A Byte of Python

What if you wanted to reuse a number of functions in other programs that you write? As you might have guessed, the answer is modules. There are various methods of writing modules, but the simplest way is to create a file with a .py extension that contains functions and variables. Another method is to write the modules in the native language in which the Python interpreter itself was written. For example, you can write modules in the C programming language and when compiled, they can be used from your Python code when using the standard Python interpreter. A module can be imported by another program to make use of its functionality. Example (save as import sys print('The command line arguments are:')for i in sys.argv: print i print '\n\nThe PYTHONPATH is', sys.path, '\n' How It Works First, we import the sys module using the import statement. 11.1. 11.2.

Learning to Program. Think Python: How to Think Like a Computer Scientist. Invent Your Own Computer Games with Python - Learn how to program with a free ebook programming tutorial. Chapter 1.

Invent Your Own Computer Games with Python - Learn how to program with a free ebook programming tutorial

Non-Programmer's Tutorial for Python 2.6. Non-Programmer's Tutorial for Python 2.6 From Wikibooks, open books for an open world Jump to: navigation, search.

Non-Programmer's Tutorial for Python 2.6

Non-Programmer's Tutorial for Python 3. Authors Contributors to this book Front matter Initial remarks Intro.

Non-Programmer's Tutorial for Python 3

Python 3 Patterns, Recipes and Idioms: An Open-Source Book. Community Book Creation: Python 3 Patterns and Idioms. Computing ThoughtsCommunity Book Creation: Python 3 Patterns and Idiomsby Bruce EckelSeptember 25, 2008 Summary If Python's what I want to do, I should write that book about it.

Community Book Creation: Python 3 Patterns and Idioms

PythonBooks - Learn Python the easy way !