مشخصات کتاب
-
Jim Knowlton
-
2008
-
انگلیسی
-
4413
-
254
-
0
Python® Create-Modify-Reuse
Getting Started 1
Obtaining Python and Installing It 1
The Python Interpreter 2
Your Editing /Execution Environment 2
Lexical Structure 3
Keywords 3
Lines and Indentation 4
Data Types and Identifiers 4
Operators 6
Expressions and Statements 7
Expressions 7
Statements 7
Iteration and Decision-Making 8
Iteration 9
Decision-Making 10
Functions 11
Modules 12
Importing Modules 12
How Python Finds Modules to Load 13
Classes 14
Summary 15
Part I: The Projects 17
Chapter 2: Directory/File Snapshot Program 19
Using the Program 20
Creating a Snapshot 20
Listing Snapshot Files 21
Comparing Snapshots 22
Viewing Help 23
Exiting the Program 23
Putting It All Together 24
Design 25
How It All Fits Together 25
Main Program 26
Modules 26
Code and Code Explanation 27
Snapshot.py 27
snapshothelper.py 34
Testing 42
Modifying the Program 42
Summary 42
Chapter 3: DVD Inventory System 43
Using the Program 44
Installing MySQL 44
Adding a DVD to the Database 44
Searching the DVD Inventory 46
Modifying a DVD Record 50
Deleting a DVD Record 53
Exporting the List of DVDs to a CSV File 54
Design 55
How It All Fits Together 56
Modules 56
Code and Code Explanation 58
dvd.py 59
add_dvd.py 61
lookup_dvds.py 63
modify_dvd.py 68
delete_dvd.py 74
csvreport_dvd.py 77
Testing 79
Modifying the Program 79
Summary 80
Chapter 4: Web Performance Tester 81
Using the Program 82
Running the Python Web Server 82
Running the Performance Profiler Client 83
Foundations of Python Network Programming
نویسنده: Brandon Rhodes John Goerzen
زبان: انگلیسی