
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 …
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 …
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 …
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 …
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.
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 …
Chapter 11 - Classes — Python 101 1.0 documentation
This will help you to better understand the power of Python and familiarize yourself with using the Standard Library. Part II will basically be a set of tutorials to help you on your way to becoming …
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 …
Part II - Learning from the Library — Python 101 1.0 documentation
The first chapter in this section will give you a quick tutorial into Python’s introspection abilities; basically you’ll learn how to make Python tell you about itself, which sounds kind of weird but …