კონსულტაციის მიღება

Python Programming with Red Hat

ინფორმაცია
ტრენინგის კოდი
AD141
ხანგძლიობა
4 დღე, 40 საათი
სწავლების ფორმატები
Classroom
OnLine
On-Site
Virtual

Overview

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, hands-on lab access will remain available for up to 45 days for any live course that includes a virtual environment.

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.

Objectives

  • 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.

Prerequisites for this course

There are no prerequisites for this course.

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

Outline

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)

Python Programming with Red Hat

ინფორმაცია
ტრენინგის კოდი
AD141
ხანგძლიობა
4 დღე, 40 საათი
სწავლების ფორმატები
Classroom
OnLine
On-Site
Virtual

Overview

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, hands-on lab access will remain available for up to 45 days for any live course that includes a virtual environment.

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.

Objectives

  • 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.

Prerequisites for this course

There are no prerequisites for this course.

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

Outline

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)