Python

Page 1

Python

This course introduces the student to the Python language. Upon completion of this class, the student will be able to write non trivial Python programs dealing with a wide variety of subject matter domains. Topics include language components, the IDLE environment, control flow constructs, strings, I/O, collections, classes, modules, and regular expressions. The course is supplemented with many hands on labs using either Linux or Windows.

Page 1 of 5


Course Outline Chapter 1: An Introduction to Python             

Introductory Remarks about Python Strengths and Weaknesses A Brief History of Python Python Versions Installing Python Environment Variables Executing Python from the Command Line IDLE Editing Python Files Getting Help Dynamic Types Python Reserved Words Naming Conventions

Chapter 2: Basic Python Syntax            

Introduction Basic Syntax Comments String Values String Operations The format Method String Slices String Operators Numeric Data Types Conversions Simple Input and Output The print Function

Chapter 3: Language Components        Page 2 of 5

Introduction Control Flow and Syntax Indenting The if Statement Relational Operators Logical Operators True or False


   

Bit Wise Operators The while Loop break and continue The for Loop

Chapter 4: Collections        

Introduction Lists Tuples Sets Dictionaries Sorting Dictionaries Copying Collections Summary

Chapter 5: Functions             

Introduction Defining Your Own Functions Parameters Function Documentation Keyword and Optional Parameters Passing Collections to a Function Variable Number of Arguments Scope Functions - "First Class Citizens" Passing Functions to a Function Mapping Functions in a Dictionary Lambda Closures

Chapter 6: Modules     

Modules Standard Modules - sys Standard Modules - math Standard Modules - time The dir Function

Chapter 7: Exceptions   Page 3 of 5

Errors Run Time Errors


     

The Exception Model Exception Hierarchy Handling Multiple Exceptions raise assert

Writing Your Own Exception Classes

Chapter 8: Input and Output            

Introduction Data Streams Creating Your Own Data Streams Access Modes Writing Data to a File Reading Data From a File Additional File Methods Using Pipes as Data Streams Handling IO Exceptions Working with Directories Metadata The pickle Module

Chapter 9: Classes in Python            

Classes in Python Principles of Object Orientation Creating Classes Instance Methods File Organization Special Methods Class Variables Inheritance Polymorphism Type Identification Custom Exception Classes Class Documentation - pydoc

Chapter 10: Regular Expressions      Page 4 of 5

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

Prerequisites: Students should have taken the Software Development for Non-Programmers course or have some experience with at least one programming language. Typically, students in this course will have already programmed in either C, C++, Java, Perl, Ruby, VB, or anything equivalent to these languages.

Zabeel Institute – at a glance Zabeel Institute, established in 1988, is a leading Educational Institute for executives in Dubai and is approved by the Ministry UAE. We offer training programs to professionals from various Engineering, Construction, Projects, Accounts & Finance, and Languages etc.

and Training of Education, industries like Management,

Zabeel IT Academy Advantage “Zabeel IT Academy established in the year 1988, focusing on IT skillset building for Emiratis and expatriates in this region. Benefit from our IT networking technology expertise being with us, Zabeel Network Academy head quartered in Dubai, having branch office across United Arab Emirates have been training a diverse range of students in entire UAE successfully for nearly three decades. We are extremely focused on IT networking training thereby conduct courses leading to certifications from the World class vendors CISCO, MICROSOFT, Linux, VMware and vendor neutral certifications like CEH, CISSP etc.

Page 5 of 5


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.