Release 1.0 for Python Version 3.1+.
Loyola University Chicago, March 06, 2015. — 191 p.
Python is a formal language with its own specific rules and formats, which these tutorials will introduce gradually, at a pace intended for a beginner. These tutorials are also appropriate for beginners because they gradually introduce fundamental logical programming skills. Learning these skills will allow you to much more easily program in other languages besides Python. Some of the skills you will learn are:
- breaking down problems into manageable parts;
- building up creative solutions;
- making sure the solutions are clear for humans;
- making sure the solutions also work correctly on the computer.
Contents.
Beginning With Python.
Context.
The Python Interpreter and Idle, Part I.
Whirlwind Introduction To Types and Functions.
Integer Arithmetic.
Strings, Part I.
Variables and Assignment.
Print Function, Part I.
Strings Part II.
The Idle Editor and Execution.
Input and Output.
Defining Functions of your Own.
Dictionaries.
Loops and Sequences.
Decimals, Floats, and Floating Point Arithmetic.
Summary.
Objects and Methods.
Strings, Part III.
More Classes and Methods.
Mad Libs Revisited.
Graphics.
Files.
Summary.
More On Flow of Control.
If Statements.
Loops and Tuples.
While Statements.
Arbitrary Types Treated As Boolean.
Further Topics to Consider.
Summary.
DynamicWeb Pages.
Overview.
Web page Basics.
Composing Web Pages in Python.
CGI - Dynamic Web Pages.
Summary.
Index.