Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Title Page
Copyright Page
Dedication Page
About the author
Contents
Introduction
Part 1: Programming fundamentals
1 Starting with Python
What is Python?
Build a place to work with Python
Start Python
What you have learned
2 Python and Programming
What makes a programmer
Computers as data processors
Data and information
Work with Python functions
What you have learned
3 Python program structure
Write your first Python program
Use Python libraries
Python comments
Run Python from the desktop
Adding some snaps
What you have learned
4 Working with variables
Variables in Python
Working with text
Working with numbers
Weather snaps
What you have learned
5 Making decisions in programs
Boolean data
The if construction
Use decisions to make an application
Input snaps
What you have learned
6 Repeating actions with loops
The while construction
The for loop construction
Make a digital clock using snaps
What you have learned
7 Using functions to simplify programs
What makes a function?
Build reusable functions
What you have learned
8 Storing collections of data
Lists and tracking sales
Refactor programs into functions
Sort using bubble sort
Store data in a file
Store tables of data
Use lists as lookup tables
Tuples
What you have learned
Part 2: Advanced programming
9 Use classes to store data
Make a tiny contacts app
Dictionaries
What you have learned
10 Use classes to create active objects
Create a Time Tracker
Create class properties
Evolve class design
The __str__ method in a class
Session tracking in Time Tracker
Make music with Snaps
What you have learned
11 Object-based solutiondesign
Fashion Shop application
Create a FashionShop component
Design with classes
Python sets
What you have learned
12 Python applications
Advanced functions
Modules and packages
Program testing
View program documentation
What you have learned
Part 3: Useful Python (Digital-only)
13 Python and Graphical User Interfaces
Visual Studio Code
Create a Graphical User Interface with Tkinter
What you have learned
14 Python programs as network clients
Computer networking
Consume the web from Python
What you have learned
15 Python programs as network servers
Create a web server in Python
Host Python applications on the web
What you have learned
16 Create games with Pygame
Getting started with pygame
Draw images with pygame
Get user input from pygame
Create game sprites
Complete the game
What you have learned
Index
Code Snippets
← Prev
Back
Next →
← Prev
Back
Next →