Python Programming
 /  Python Programming

Python Programming training leads the student from the basics of writing and running Python scripts to more advanced features such as file operations, regular expressions, working with binary data, and using the extensive functionality of Python modules. Extra emphasis is placed on features unique to Python, such as tuples, array slices, output formatting. This is a hands-on programming class. This course is a practical introduction to a working programming language, not an academic overview of syntax and grammar.

Course Introduction

  • Course Objectives
  • Course Overview
  • Suggested References

An Overview of Python

  • What is Python?
  • The birth of Python
  • Python Timeline
  • About Interpreted Languages
  • Advantages of Python
  • Disadvantages of Python
  • How to get Python
  • The end of 2.x
  • Getting help
  • Pydoc
  • Using Pydoc

The Python Environment

  • Starting Python
  • If Interpreter is not in your Paths
  • Using the Interpreter
  • Trying out a few Commands
  • The help() command
  • Running a Python Script
  • Python Scripts on Unix, Win
  • Python Editors and IDES

Getting Started

  • Using Variables
  • Keywords
  • Built-in Functions
  • Variable Typing
  • Strings
  • Single-delimited String Literals
  • Triple-delimited String Literals
  • Raw String Literals
  • Unicode Characters
  • String Operators and Methods
  • Numeric Literals
  • Math Operators and Expressions
  • Converting Among Types
  • Writing to the Screen
  • String Formatting
  • Command Line Parameters
  • Reading from the Keyboard

Flow Control

  • About Flow Control
  • What’s with the White Space
  • If and Elif
  • Conditional Expressions
  • Relational Operators
  • Boolean Operators
  • White Loops
  • Alternate Ways to Exit a Loop

Sequences

  • About Sequences
  • Lists

Functions

  • Defining a Function
  • Function Parameters
  • Returning Values
  • Variable Scope

Sorting

  • Sorting
  • The Sorted() Function
  • Alternate Keys
  • Lambda Functions
  • Sorting Nested Data
  • Sorting Dictionaries
  • Sorting in Reverse
  • Sorting Lists in Place

Using Modules

  • Regular Expressions
  • RE Syntax Overview
  • RE Objects
  • Searching for Patterns
  • Matching without RE Objects
  • Compilation Fags
  • Grouping
  • Special Groups
  • Replacing Text
  • Splitting a String

Using the Standard Library

  • The Sys Module
  • Interpreter Information
  • STDIO
  • Launching External Programs
Paths, Directories, Filenames
  • Walking Directory Trees
  • Grabbing Web Pages
  • Sending E-Mail
  • Math Functions
  • Random Values
  • Dates and Times
  • Zipped Archives

An Introduction to Python Classes

  • About O-O Programming
  • Defining Classes
  • Initializers
  • Instance Methods
  • Properties
  • Class Methods and Data
  • Static Methods
  • Private Methods
  • Inheritance
  • Untangling the Nomenclature

Tuples

  • Indexing and Slicing
  • Iterating Through a Sequence
  • Using Enumerate()
  • Functions for all Sequences
  • Keywords and Operators for All Sequences
  • The Range() Function
  • Nested sequences
  • List Comprehensions
  • Generator Expressions

Working with files

  • Text File I/O
  • Opening a Text File
  • The With Block
  • Reading a Text File
  • Non-delimited (Raw) Data

Dictionaries and Sets

  • About Dictionaries
  • When to Use Dictionaries c. Creating Dictionaries
  • Getting Dictionary Values
  • Iterating Through a Dictionary
  • Reading File Data into a Dictionary
  • Counting with a Dictionary
  • About Sets
  • Creating & Working with Sets

Anyone who is interested in Data Science. Robotics, Automation and keen to start off in the field of programming

Working/user level knowledge of an operating system such as Linus, Windows or MacOS is the pre-requisites. Basic skill with at least one other programming language is desirable.

Number of Questions: 10 MCQ and 1 Case Study
Test Duration: 4 hours

This test will examine the students on both theory and practical

No schedule at the moment

Book Now

 








Book Online
Enquiry

  • Duration 5 Days
  • Price $2,400
Certification Body
This course is supported by
Need more information?

Related Courses