Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Chapter 1: Python, what Python?
What is Python?
Why Learn Python?
Chapter 2: Getting ready for Python
Installing the Interpreter
Using the Python Shell, IDLE and Writing our FIRST program
Chapter 3: The World of Variables and Operators
What are variables?
Naming a Variable
The Assignment Sign
Basic Operators
More Assignment Operators
Chapter 4: Data Types in Python
Integers
Float
String
Type Casting In Python
List
Tuple
Dictionary
Chapter 5: Making Your Program Interactive
Input()
Print()
Triple Quotes
Escape Characters
Chapter 6: Making Choices and Decisions
Condition Statements
If Statement
Inline If
For Loop
While Loop
Break
Continue
Try, Except
Chapter 7: Functions and Modules
What are Functions?
Defining Your Own Functions
Variable Scope
Importing Modules
Creating our Own Module
Chapter 8: Working with Files
Opening and Reading Text Files
Using a For Loop to Read Text Files
Writing to a Text File
Opening and Reading Text Files by Buffer Size
Opening, Reading and Writing Binary Files
Deleting and Renaming Files
Project: Math and BODMAS
Part 1: myPythonFunctions.py
Part 2: mathGame.py
Challenge Yourself
Thank You
Appendix A: Working With Strings
Appendix B: Working With Lists
Appendix C: Working With Tuples
Appendix D: Working With Dictionaries
Appendix E: Project Answers
One Last Thing…
← Prev
Back
Next →
← Prev
Back
Next →