Python programming for beginners
Python is a popular programming language used by system administrators, data scientists, and developers to create web applications, custom Red Hat Ansible Automation modules, perform statistical analysis, and train AI/ML models. This course introduces the Python language and teaches fundamental concepts like control flow, loops, data structures, functions, file I/O, regular expressions, parsing JSON, and debugging. This course is based on Python 3 and RHEL 9.0.
Following course completion, you will receive a 45-day extended access to hands-on labs for any course that includes a virtual environment.
Note: This course is self paced. Durations may vary based on the delivery. For full course details, scheduling, and pricing, select your location then “get started” on the right hand menu.Virtual Learning
This interactive training can be taken from any location, your office or home and is delivered by a trainer. This training does not have any delegates in the class with the instructor, since all delegates are virtually connected. Virtual delegates do not travel to this course, Global Knowledge will send you all the information needed before the start of the course and you can test the logins.
TARGET AUDIENCE:
• System administrators and DevOps personnel who want to use Python to automate operating system tasks
• Developers from other programming languages who want to learn Python for writing applications
• AI/ML, data scientists, and engineers who want to use Python for data analysis and machine learning
COURSE PREREQUISITES:
• There are no prerequisites for this course.
Technology considerations
• Internet access is required.
• A cloud-based RHEL workstation will be provided. Optionally, students can install Python on their own workstation and run lab exercises locally, however Red Hat will not troubleshoot local environment issues.
COURSE CONTENT:
An Overview of Python 3
Introduction to Python and setting up the developer environment
Basic Python Syntax
Explore the basic syntax and semantics of Python
Language Components
Understand the basic control flow features and operators
Collections
Write programs that manipulate compound data using lists, sets, tuples and dictionaries
Functions
Decompose your programs into composable functions
Modules
Organize your code using Modules for flexibility and reuse
Classes in Python
Explore Object Oriented Programming (OOP) with classes and objects
Exceptions
Handle runtime errors using Exceptions
Input and Output
Implement programs that read and write files
Data Structures
Use advanced data structures like generators and comprehensions to reduce boilerplate code
Regular Expressions
Use powerful regular expressions to manipulate textual data
Parsing JSON
Read and write JSON data
Debugging
Debug Python programs using the Python debugger (pdb)
COURSE OBJECTIVE:
• Basics of Python syntax, functions and data types
• How to debug Python scripts using the Python debugger (pdb)
• Use Python data structures like dictionaries, sets, tuples and lists to handle compound data
• Learn Object-oriented programming in Python and Exception Handling
• How to read and write files in Python and parse JSON data
• Use powerful regular expressions in Python to manipulate text
• How to effectively structure large Python programs using modules and namespaces
• How to use third-party libraries using the pip CLI tool.
FOLLOW ON COURSES:
This course is part of the “Red Hat Training Presents” program. The courses in this program provide introductory content to get you started with the technology, and are complementary to other Red Hat Training offerings. This introductory Python course prepares you for:
Ansible Basics: Automation Technical Overview (DO007)
Red Hat Enterprise Linux Automation with Ansible (RH294)