
Welcome to Python 101! — Python 101 1.0 documentation
Welcome to Python 101! Learn how to program with Python 3 from beginning to end. Python 101 starts off with the fundamentals of Python and then builds onto what you’ve learned from there. The …
Introduction — Python 101 1.0 documentation
Some people think Python is just for writing little scripts to glue together “real” code, like C++ or Haskell. However you will find Python to be useful in almost any situation.
Part I - Learning the Basics — Python 101 1.0 documentation
In Part I, we will learn the basics of the Python programming language. This section of the book should get you ready to use all the building blocks of Python so that you will be ready to tackle the following …
Chapter 1 - IDLE Programming — Python 101 1.0 documentation
Python comes with its own code editor: IDLE (Integrated Development and Learning Environment). There is some lore that the name for IDLE comes from Eric Idle, an actor in Monty Python.
Chapter 3 - Lists, Tuples and Dictionaries — Python 101 1.0 …
Wrapping Up In this chapter you just learned how to construct a Python list, tuple and dictionary. Make sure you understand everything in this section before moving on. These concepts will assist you in …
Chapter 5 - Loops — Python 101 1.0 documentation
Python just did the right thing for us. You may be wondering why the keys printed in a different order than they were defined in the dictionary. As you may recall from chapter 3, dictionaries are …
Chapter 10 - Functions — Python 101 1.0 documentation
The function itself will print out both types of arguments. As you can see, the args parameter turns into a tuple and kwargs turns into a dictionary. You will see this type of coding used in the Python source …
Chapter 2 - All About Strings — Python 101 1.0 documentation
As you can see, Python gives us pretty good information about what went wrong and how to fix it. If you fix the inputs appropriately, then you should be able to get this example to run.
<no title> — Python 101 1.0 documentation
A Brief History of Python About the Author Conventions Requirements Reader Feedback Errata Part I - Learning the Basics Chapter 1 - IDLE Programming Using IDLE Other Tips Wrapping Up Chapter 2 - …
Chapter 36 - Creating Modules and Packages — Python 101 1.0 …
Creating Python modules is something that most Python programmers do every day without even thinking about it. Any time you save a new Python script, you have created a new module.