Python – Workshop Content and Duration
The workshop will be segregated into two days.
Duration: 2 days, 5 hours each.
DAY 1:
Session 1:
1. Getting Started:
Operating System
Program execution
What is a Process?
What is Python?
Setup and configuration: Linux and Windows.
Python IDEs
2. Types, variables and simple I/O:
Triple-quoted strings, escape sequences
Math
Memory
Variables
User Input
3. Branching, While Loops, and Program Planning:
Random
if - else
elif
while
Pseudocode
Session 2:
4. For Loops, Strings, And Tuples:
for
range()
Strings as sequences
Tuples as sequences
sequence functions and operators
Index and slice sequences
5. Lists and Dictionaries:
Create, index, and slice a list
Add and delete elements from a list
List methods
Nested sequences
Dictionaries
Add and delete dictionary items
DAY2:
Session 1:
6. Functions:
User defined functions
Parameters
Return
Global variables and constants
7. Files and Exceptions:
Read – Write – Append
Interception and Error handling
8. Modules and Packages:
import
Exploring builtin modules
Writing modules
Writing packages
Session 2:
9. Introduction to Object Oriented Programming:
Analogy – Everthing around you
Why OOPS?
Classes and Objects
Special Class methods
Encapsulation
Abstraction
Inheritance
Constructor
Destructor
10. GUI Development: The revamped 'Hello World' Program:
The Button Widget
The Canvas Widget
The Checkbutton Widget
The Entry Widget
The Frame Widget
The Label Widget
The LabelFrame Widget
The Listbox Widget
The Menu Widget
The Menubutton Widget
The Message Widget
The OptionMenu Widget
The PanedWindow Widget
The Radiobutton Widget
The Scale Widget
The Scrollbar Widget
The Spinbox Widget
The Text Widget