Python Programming Essential Training
Course Duration: 3 Months
Course Fee: 20,000tk
Course Overview:
This Python for beginners training course leads the students 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, and output formatting.
Objectives
• Master the fundamentals of writing Python scripts
• Learn core Python scripting elements such as variables and flow control structures
• Discover how to work with lists and sequence data
• Write Python functions to facilitate code reuse
• Use Python to read and write files
• Make their code robust by handling errors and exceptions properly
• Work with the Python standard library
• Explore Python’s object-oriented features
• Search text using regular expressions
Introduction
- Welcome
- Understanding prerequisites for Python
- Using the exercise files
Python Quick Star
- Getting started with “Hello World”
- Selecting code with conditionals
- Repeating code with a loop
- Reusing code with a function
- Creating sequences with generator functions
- Reusing code and data with a class
- Greater reusability with inheritance and polymorphism
- Handling errors with exceptions
Setting Up Python
- Installing Python 3 and Eclipse for Windows
- Installing Python 3 and Eclipse for Mac
- General Syntax
- Creating a main script
- Understanding whitespace in Python
- Commenting code
- Assigning values
- Selecting code and values with conditionals
- Creating and using functions
- Creating and using objects
Variables, Objects, and Values
- Understanding variables and objects in Python
- Distinguishing mutable and immutable objects
- Using numbers
- Using strings
- Aggregating values with lists and tuples
- Creating associative lists with dictionaries
- Finding the type and identity of a variable
- Specifying logical values with True and False
Conditionals
- Selecting code with if and else conditional statements
- Setting multiple choices with elif
- Understanding other strategies for multiple choices
- Using the conditional expression
Loops
- Creating loops with while
- Iterating with for
- Enumerating iterators
- Controlling loop flow with break, continue, and else
Operators
- Performing simple arithmetic
- Operating on bitwise values
- Comparing values
- Operating on Boolean values
- Operating on parts of a container with the slice operator
- Understanding operator precedence
Regular Expressions
- Using the re module
- Searching with regular expressions
- Replacing with regular expressions
- Reusing regular expressions with re.compile
Exceptions
- Learning how exceptions work
- Handling exceptions
- Raising exceptions
Functions
- Defining functions
- Using lists of arguments
- Using named function arguments
- Returning values from functions
- Creating a sequence with a generator function
Classes
- Understanding classes and objects
- Using methods
- Using object data
- Understanding inheritance
- Applying polymorphism to classes
- Using generators
- Using decorators
String Methods
- Understanding strings as objects
- Working with common string methods
- Formatting strings with str.format
- Splitting and joining strings
- Finding and using standard string methods
Containers
- Creating sequences with tuples and lists
- Operating on sequences with built-in methods
- Organizing data with dictionaries
- Operating on character data with bytes and byte arrays
File I/O
- Opening files 2. Reading and writing text files
- Reading and writing binary files
Databases
- Creating a database with SQLite 3
- Creating, retrieving, updating, and deleting records
- a database object
Modules
- Using standard library modules
- Finding third-party modules
- Creating a module
Debugging
- Dealing with syntax errors
- Dealing with runtime errors
- Dealing with logical errors
- Using unit tests
Building a Database Application
- Normalizing a database interface
- Deconstructing a database application
- Displaying random entries from a database