Computer Programming Using Python
Computer Programming Using Python
Topic Topic
(including assignment /
test)
1st 1. Getting started with Python and IDLE in
Introduction: interactive and batch modes
Brief History of Python
Python Versions
Installing Python
Environment Variables
Executing Python from the
Command Line
IDLE
Editing Python Files
Python Documentation
Getting Help
Dynamic Types
Python Reserved Words
Naming Conventions
2nd Basic Python Syntax 2. What do the following string methods do?
lower
count
Basic Syntax replace
Comments
String Values
String Methods
The format Method
String Operators
Numeric Data Types
Conversion Functions
Simple Output
Simple Input
The % Method
5th Tuples 5. Find all numbers which are multiple of 17, but
Sets not the multiple of 5, between 2000 and 2500?
Dictionaries
Introduction
Defining Your Own Functions
Parameters
Function Documentation
Errors
Runtime Errors
The Exception Model
Exception Hierarchy
Handling Multiple Exceptions
Raise
assert
Introduction
Simple Character Matches
Special Characters
Character Classes
Quantifiers
The Dot Character
Greedy Matches
Grouping
Matching at Beginning or End
Match Objects
Substituting
Splitting a String
Compiling Regular Expressions
Flags
Sessional Test