Course Overview
Hello Everyone
Welcome to the Python course designed for Linux Admins. This course introduces you to the practical application of Python in system administration workflows.
We begin with setting up Python, understanding its significance in Linux and DevOps, and exploring the essential tools and technologies used throughout the course. You'll learn the basics of Python, including syntax, data types, and essential programming constructs such as loops, conditional statements, and commonly used data structures like lists, tuples, sets, and dictionaries.
The course emphasizes the importance of functions and modules, teaching you how to create reusable code, organize projects, and leverage Python's extensive standard library. We'll also cover file handling and exception management to help you build robust scripts.
As system interaction is a crucial skill, you'll gain hands-on experience working with Python's OS-related modules, enabling you to automate system tasks effectively. The course provides real-world examples, ensuring that every concept is tied to practical applications in Linux and DevOps environments.
By the end of the course, you'll be equipped with the foundational skills required to write efficient Python scripts and automate repetitive tasks, enhancing your productivity as a Linux administrator or DevOps engineer. This comprehensive course ensures you’re ready for real-world challenges.
FAQ
FAQ area empty
Course curriculum
-
Conditional statements (if, elif, else)
475 Xem trước -
Looping Constructs (for, while)
359 -
Lab: Looping Constructs (for, while)
342 -
Loop Control Statements (break, continue, pass)
193 Xem trước -
Lab: Loop Control Statements (break, continue, pass)
352 Xem trước -
Lists, Tuples, Sets, and Dictionaries
290 -
Lab: Lists, Tuples, Sets, and Dictionaries
676 -
List Comprehensions and Generator Expressions
228 -
Lab: List Comprehensions and Generator Expressions
336 -
Working with Collections and Iterables
210 -
Lab: Working with Collections and Iterables
254
-
Introduction to Functions in Python
235 -
Lab: Converting Celsius to Fahrenheit
245 -
Default Arguments and Variable Length Arguments
287 -
Lab: Create a Function to Accept Variable Arguments & Calculate Their Average
281 -
Introduction to Lambda Functions
244 -
Lab: Use Lambda Functions to Filter out Odd Numbers From a List of Integers
142 -
Importing built-in Modules
242 -
Lab: Using the time Module to Measure Function Execution Time
224 -
Creating Custom Modules and Packages
262 -
Lab: Creating a Custom Module for File Operations
286 -
Understanding Scope and Namespaces
311 -
Lab: Experimenting with global and nonlocal in Nested Functions
364
-
Reading from and Writing to files
241 -
Lab: Python File Operations
484 -
Working with Directories Using os and shutil Modules
221 -
Lab: Python Directory Management
572 -
Parsing Configuration Files (INI, JSON and YAML)
260 -
Lab: Parsing Configuration Files
726 -
Exception Handling in Python
210 -
Lab: Exception Handling in Python
530
-
Environment Variables
214 -
Lab: Environment Variables
403 -
File and Directory Operations
271 -
Lab: File and Directory Operations
457 -
System Specific Parameters and Functions
201 -
Lab: System Specific Parameters and Functions
238 -
Lab: Executing Shell Commands
179 -
Running External Commands and Capturing Output
207 -
Lab: Running External Commands and Capturing Output
283 -
Error Handling in Subprocesses
176 -
Lab: Error Handling in Subprocesses
177
-
Introduction to sockets Module
174 -
Lab: Resolve a Domain Name
149 -
Creating TCP UDP Clients and Servers
113 -
Lab: Build a Simple TCP echo Server
313 -
Lab: Create a UDP Chat Application
299 -
Web Requests and APIs
68 -
Consuming RESTful APIs
76 -
Handling JSON and XML Data
81 -
Lab: API Interaction Fetching Weather Data with Python
481
Requirment
-
Basic Knowledge of Linux: Familiarity with Linux operating systems and command-line interface
-
Understanding of DevOps Concepts: Basic awareness of DevOps practices and tools
-
Prior Programming Experience (Beneficial but Not Required): Some experience with programming concepts can be helpful
-
Access to a Linux System: A computer running a Linux distribution to install Python and other tools
-
Text Editor or IDE: Tools like VSCode or Vim installed for writing and editing code
-
Internet Connection: For downloading software, accessing online resources, and working with cloud services
Outcomes
-
Configure Python environments on Linux systems, using editors like VSCode or Vim, and manage virtual environments effectively
-
Write Python scripts using fundamental syntax, data types, control structures, and data structures like lists and dictionaries
-
Automate system tasks with Python, including file handling, text processing with regular expressions, and OS interactions
-
Apply Python in DevOps workflows to automate Git operations, manage CI/CD pipelines, and interact with tools like Ansible, Docker, and Kubernetes
0 Student
2 Courses
0 review