IT-professional
Introduction to Python
Interested in learning how to write code and develop apps in Python? In this Introduction to Python course, you will learn how to use Python’s features, standard library modules, and third-party software packages.
Course objectives
- Learn how to rapidly develop feature-rich applications using Python's built-in statements, functions, and collection types
-
Structure code with classes, modules, and packages that leverage object-oriented features
-
Create multiple data accessors to manage various data storage formats
-
Access additional features with library modules and packages
-
Test your knowledge with the included end-of-course exam
-
Leverage continued support with after-course one-on-one instructor coaching and computing sandbox
Prerequisites
- Experience with another procedural or object-oriented programming language, such as C, C++, Java, VB .NET, or SQL
- Familiarity with concepts, such as variables, loops, and branches with some experience using a text editor to edit programme code
Outline
Module 1: Introduction to Python
- Python language characteristics
- The Python execution model
Module 2: Leveraging Python Built-in Types
- Manipulating string and numeric literals
- Declaring and initialising variables
- Performing arithmetic calculations
- Making decisions and performing iterations
- Formatting and slicing strings
- Aggregating related data
- Accessing positional information in lists Representing ordered data with tuples
- Efficiently handling data collection with iterators
Module 3: Organising and Structuring Code
- Defining positional, keyword, and default arguments
- Implementing variable-length argument lists
- Iterating with generator functions
- Grouping code into modules
- Referencing functions from modules by qualification
- Accessing the Standard Library
Module 4: Implementing Classes and Objects
- Declaring and modifying objects
- Encapsulating attributes and methods in classes
- Initialising objects with constructors
- Accessing and modifying attributes with methods
- Reusing functionality through inheritance
- Extending methods from base classes
- Overriding methods for dynamic behavior
- Tracing the scope in the namespace
Module 5: Manipulating the File System
- Reading and writing text and files
- Accessing structured and unstructured data
- Increasing programme robustness through handling exceptions
- Maintaining programme control with error handlers
- Detecting errors and raising exceptions
Module 6: Interfacing with Relational Databases
- Creating a SQL database connection
- Instantiating cursors to access a database
- Executing SQL statements within a Python program
- Retrieving desired data sets
- Updating the database with action statements
- Processing requests with Python controllers