PYTHON PROGRAMMING

  • Home
  • Course
  • PYTHON PROGRAMMING

PYTHON PROGRAMMING

OVERVIEW

This course is an introduction to computer programming and software development using the Python programming language. Python is perhaps the most powerful and versatile programming language today. It is used to run websites, perform scientific and statistical analyses, and automate a wide variety of computer and system administration tasks. It is also used widely in various cybersecurity applications.

In spite of its power, Python is one of the easiest programming languages to learn. This makes it an ideal language for learning modern computer programming and software development concepts, which is the objective of this course. In this course, you will learn how to develop, test, and debug computer programs in Python. You will also get an introduction to software development as a process. The core concepts learned in this class are relevant across all modern programming languages and software development projects

In this training program or course we introduce Python language to student. After completion, the student will be able to write non trivial (To write a program if you do not need existing library) Python programs dealing with a wide variety of subject matter domains. Topics include language fundamentals, the IDLE environment, control flow constructs, strings, I/O, collections, classes, modules, and regular expressions

COURSE OBJECTIVES OR After completion you will be able to:

  • Use advanced data structures
  • Use Python list comprehensions
  • Use Python generators
  • Write GUI programs in Python
  • Write CGI programs in Python
  • Create and execute processes
  • Write home grown Python functions
  • Write Network Programs in Python
  • Execute Python code in a variety of environments
  • Use correct Python syntax in Python programs
  • Use the Python control flow constructs correctly
  • Create custom classes and use existing Python classes
  • Write Python programs using various collection data types
  • Use the IO module in Python to read and write disk files
  • Differentiate between the proper use of Python collection classes
  • Handle various exceptions via the Python Exception Handling model
  • Understand and use the Object Oriented paradigm in Python programs
  • Use the Python Regular Expression capabilities for data verification
  • Use many of the standard Python modules such as os, sys, math, and time
  • Use Python to store data in a variety of ways including use of a database
  • To learn basic programming skills, especially software development using the Python language.
  • To be able to use Python to write programs to perform various user and administrative tasks.
  • To develop problem-solving skills, especially in the use of computers to solve real-world problems.

Who can do this course?

Students should have experience performing basic computer and file management tasks on a modern operating system such as Windows, Mac OS X, or Linux. Students should have good problem solving and logical thinking skills. So this course is designed for anyone who needs to learn how to write programs Python

PREREQUISITES

You have to know about at least one programming language like C, C++, Java, C#, VB etc.

Course Contents

  • Introduction
  • A 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
  • Basic Syntax
  • Comments
  • String Values
  • String Methods
  • The format Method
  • String Operators
  • Numeric Data Types
  • Conversion Functions
  • Simple Output
  • Simple Input
  • The % Method
  • The print Function
  • Indenting Requirements
  • The if Statement
  • Relational and Logical Operators
  • Bit Wise Operators
  • The while Loop
  • break and continue
  • The for Loop
  • Introduction
  • Lists
  • Tuples
  • Sets
  • Dictionaries
  • Sorting Dictionaries
  • Copying Collections
  • Summary
  • 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
  • map
  • filter
  • Mapping Functions in a Dictionary
  • Lambda
  • Inner Functions
  • Closures
  • Modules
  • Standard Modules – sys
  • Standard Modules – math
  • Standard Modules – time
  • The dir Function
  • Errors
  • Runtime Errors
  • The Exception Model
  • Exception Hierarchy
  • Handling Multiple Exceptions
  • raise
  • assert
  • 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
  • Classes in Python
  • Principles of Object Orientation
  • Creating Classes
  • Instance Methods
  • File Organization
  • Special Methods
  • Class Variables
  • Inheritance
  • Polymorphism
  • Type Identification
  • Custom Exception Classes
  • 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
  • List Comprehensions
  • Nested List Comprehensions
  • Dictionary Comprehensions
  • Dictionaries with Compound Values
  • Processing Lists in Parallel
  • Specialized Sorts
  • Time Functionality
  • Generators
  • What is CGI
  • HTML
  • HTML Forms
  • A Guestbook Application
  • What Can Go Wrong!
  • HTML Tables
  • The CGI Script
  • Rendering of the Script
  • The Environment
  • Creating a Process
  • Listing Files
  • Other Process Methods
  • File Information (Metadata)
  • Working With Directories
  • Introduction
  • DBM Operations
  • Pickling
  • Pickling with Complex Objects
  • Shelves
  • Using sqlite3
  • Executing Queries
  • Table Descriptions
  • Writing Database Scripts