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.
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 3Introduction to Python and setting up the developer environment Basic Python SyntaxExplore the basic syntax and semantics of PythonLanguage ComponentsUnderstand the basic control flow features and operatorsCollectionsWrite programs that manipulate compound data using lists, sets, tuples and dictionariesFunctionsDecompose your programs into composable functionsModulesOrganize your code using Modules for flexibility and reuseClasses in PythonExplore Object Oriented Programming (OOP) with classes and objectsExceptionsHandle runtime errors using ExceptionsInput and OutputImplement programs that read and write filesData StructuresUse advanced data structures like generators and comprehensions to reduce boilerplate codeRegular ExpressionsUse powerful regular expressions to manipulate textual dataParsing JSONRead and write JSON dataDebuggingDebug Python programs using the Python debugger (pdb)
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)