This four-day instructor-led course takes participants through the fundamentals of programming in Python 3, creating a complete program that performs a wide range of operations on a variety of data types, structures, and objects. You will then build on your basic skills getting into more advanced topics such as object-oriented programming patterns, development of graphical user interfaces, data management, threading, unit testing, and creating and installing packages and executable applications.
In this course, you will set up Python and develop a simple application; declare and perform operations on simple data types, including strings, numbers, and dates; declare and perform operations on data structures, including lists, ranges, tuples, dictionaries, and sets; write conditional statements and loops; define and use functions, classes, and modules; manage files and directories through code; deal with exceptions.
You’ll then be ready to select an object-oriented programming approach for Python applications; create object-oriented Python applications; create a desktop application; create data-driven applications; create and secure web service-connected application; program Python for data science; implement unit testing and exception handling; package an application for distribution.
Setting Up Python and Developing a Simple Application
- Set Up the Development Environment
- Write Python Statements
- Create a Python Application
- Prevent Errors
Processing Simple Data Types
- Process Strings and Integers
- Process Decimals, Floats, and Mixed Number Types
Processing Data Structures
- Process Ordered Data Structures
- Process Unordered Data Structures
Writing Conditional Statements and Loops in Python
- Write a Conditional Statement
- Write a Loop
Structuring Code for Reuse
- Define and Call a Function
- Define and Instantiate a Class
- Import and Use a Module
Writing Code to Process Files and Directories
- Write to a Text File
- Read from a Text File
- Get the Contents of a Directory
- Manage Files and Directories
Dealing with Exceptions
- Handle Exceptions
- Raise Exceptions
Selecting an Object-Oriented Programming Approach for Python Applications
- Implement Object-Oriented Design
- Leverage the Benefits of Object-Oriented Programming
Creating Object-Oriented Python Applications
- Create a Class
- Use Built-in Methods
- Implement the Factory Design Pattern
Creating a Desktop Application
- Design a Graphical User Interface (GUI)
- Create Interactive Applications
Creating Data-Driven Applications
- Connect to Data
- Store, Update, and Delete Data in a Database
Creating and Securing a Web Service-Connected App
- Select a Network Application Protocol
- Create a RESTful Web Service
- Create a Web Service Client
- Secure Connected Applications
Programming Python for Data Science
- Clean Data with Python
- Visualize Data with Python
- Perform Linear Regression with Machine Learning
Implementing Unit Testing and Exception Handling
- Handle Exceptions
- Write a Unit Test
- Execute a Unit Test
Packaging an Application for Distribution
- Create and Install a Package
- Generate Alternative Distribution Files