Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
DevOps Tools for Beginners: Starting with Python Scripts
Role Play
Rating: 4.6 out of 5(200 ratings)
8,379 students

DevOps Tools for Beginners: Starting with Python Scripts

Learn Python from scratch to automate IT work: data types, functions, loops, files, the os module and real scripts
Created byVitalii Shumylo
Last updated 11/2026
English
English [Auto],Thai [Auto],

What you'll learn

  • Install Python and run your first scripts
  • Work with numbers, strings, lists, dictionaries and tuples
  • Write functions, loops and conditions
  • Read and write files from Python
  • Edit scripts quickly in Vim
  • Build practical automation scripts for everyday IT tasks
  • Check your knowledge with practice tests (123 questions)

Coding Exercises

This course includes our updated coding exercises so you can practice your skills as you learn.

See a demo
Image of coding exercise example

Course content

19 sections • 167 lectures • 21h 9m total length
  • Setting Up Your Python Environment4:00

    Set up your Python environment by installing the interpreter, selecting a distribution like Anaconda, and using IDEs such as PyCharm or VS Code, plus platforms like Google Colab and Jupyter.

  • Demo: Setting Up Your Python Environment - Part 112:07

    Install the python interpreter on Windows, configure the path, and use repl to run code; explore IDEs like PyCharm and VS Code, and browser options such as Google Colab.

  • Demo: Setting Up Your Python Environment - Part 22:59

    Set up your python development environment by installing Visual Studio Code and PyCharm, configuring path and file associations, to begin learning Python basics.

  • Creating Your First Project1:40

    Launch PyCharm Community Edition, create a new project, and name it. Configure the Python interpreter and set up a virtual environment, then create your first Python file within the project.

  • Demo: Creating Your First Project4:20

    Create your first PyCharm community edition project, set up a Python 3.12 interpreter with a virtual environment, and add your initial one dot using commands.py file.

  • Introduction to version control with Git and GitHub4:33

    Set up a version control workflow for a Python project using Git and GitHub, create a repo, commit initial files, and push to a remote repository.

  • Demo: Using Git with Python Projects4:24

    Demonstrate setting up git in PyCharm, creating a local repository, committing and pushing changes, and connecting to a remote GitHub repository via login and remote URL.

  • Cloning and Running a Git Repository in IDEs7:53

    Clone and run a git repository in IDEs such as PyCharm and VS Code, work with command prompts, manage directories, and explore lesson materials and exercises.

  • Working with GitHub: Importing Repositories and Using GitHub Codespaces5:56

    Learn to import external repositories into GitHub, name your local repository, and create a codespace to practice Python experiments online without a local IDE.

  • Lesson 1 Exercise: Setting Up Your Python Development Environment8:42

    Set up your Python development environment by installing Python and Git, verifying versions, and using the repl. Configure a project directory, clone repositories, and explore PyCharm or Visual Studio Code.

  • Three Copies of One Script: Bringing the Team's Scripts Under Version Control
  • Printing with Python: Your First Step into Coding11:15

    Master the python print statement, print hello world, and explore strings with single quotes and double quotes while using the IDE to print multiple lines.

  • Print Techniques in Python6:21

    Explore Python print techniques, including escape characters like newline and tab, printing multiple items, and combining data types; apply hands-on exercises to build basic string formatting skills.

  • Printing with Python: Your First Step into Coding
  • Python Fundamentals: Common Print Statement Errors11:21

    Identify common print statement errors in Python and fix issues such as missing parentheses, mismatched quotes, indentation, and incorrect case sensitivity.

  • Debugging Practice Exercise : Identifying and Fixing Python Syntax Errors8:13

    Practice debugging Python syntax errors in Visual Studio Code with an exercise that fixes print statements, strings and escape characters, indentation, and missing parentheses; save a file and push changes.

  • Python Print Function: Common Mistakes
  • Mastering Multi-line Printing in Python: Basic Techniques10:28
  • Multi-line Printing Exercise and Solution: Practical Exercises in Python6:17

    Practice multi-line printing in Python by completing tasks that print poems with separate print statements, use backslash escapes and triple quotes, and review the solutions.

  • Multi-line Printing in Python
  • Using Comments in Python3:36

    Explore Python commands and PyCharm shortcuts to improve code readability and maintainability, using single-line, inline, and multi-line comments indicated by the hash symbol, and practice commenting out code with Ctrl+Slash.

  • Demo: Using Comments in Python11:57

    Learn how to use Python comments to document code and guide readability, including single-line hash notes, inline commands, and multi-line string literals, while exploring PyCharm shortcuts and basic project refactoring.

  • Adding Comments in Python
  • Section Quiz: Lesson 1: Getting Started with Python

Requirements

  • No programming experience is needed
  • A PC with Windows, macOS or Linux; basic command-line skills help

Description

Most IT work repeats itself: renaming files, checking folders, reading logs, collecting data. Python lets you write that once as a script and run it whenever you need it. This course teaches Python from the very beginning with that goal in mind - automation for administrators and DevOps beginners.

How the course works

Each lesson is a set of short videos with the code typed live, so you can pause and run it yourself. Small programs follow every topic, and the last lessons turn everything into practical scripts. Practice tests at the end check what you learned.

Inside the course

  • Python basics: setup, basic data types and their operations, PEP 8, user input and programs with numbers.
  • Building blocks: functions, Booleans, comparison operators, lists, dictionaries, tuples and files, loops.
  • Scripting: an introduction to scripting, Vim for editing scripts, and hands-on script examples.

A practical example

A typical task: a folder fills up with log files every day. A short Python script finds the old ones, archives them and writes a report - the kind of script the hands-on lessons build.

The course runs about 21 hours in 167 lectures and includes practice tests with 123 questions. No programming experience is needed; basic command-line knowledge helps.

Who this course is for:

  • System administrators who want to automate routine work
  • IT engineers starting with DevOps tools
  • Beginners who want Python for practical scripts, not theory