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.
Outline for this course
An Overview of Python 3Introduction to Python and setting up the developer environment
Explore the basic syntax and semantics of Python
Understand the basic control flow features and operators
Write programs that manipulate compound data using lists, sets, tuples and dictionaries
Decompose your programs into composable functions
Organize your code using Modules for flexibility and reuse
Explore Object Oriented Programming (OOP) with classes and objects
Handle runtime errors using Exceptions
Implement programs that read and write files
Use advanced data structures like generators and comprehensions to reduce boilerplate code
Use powerful regular expressions to manipulate textual data
Read and write JSON data
Debug Python programs using the Python debugger (pdb)
Audience for this course
Prerequisites for this course
Technology considerations