Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Mastering Python's Standard Library and OS Automation
Rating: 4.1 out of 5(7 ratings)
2,934 students

Mastering Python's Standard Library and OS Automation

Master built-in Python modules (os, shutil, datetime, math, random, pickle)
Created bySyed Mohiuddin
Last updated 9/2019
English
English [Auto],

What you'll learn

  • Set up Python and PyCharm on Windows, run Python scripts using different execution methods, and use built-in help utilities
  • Master Python arithmetic, comparison, logical, assignment, and membership operators along with conditional statements and short-circuit evaluation
  • Perform advanced mathematical computations—including trigonometry, logarithms, combinatorics (perm, comb), Euclidean distance, and GCD/LCM—using the math module
  • Generate reproducible random numbers, simulate dice or sampling workflows, and shuffle sequences using the random module
  • Create, parse, format, compare, and perform arithmetic on dates and timestamps with the datetime module
  • Measure code execution time, manage time zones, and control program execution delays using the time module
  • Generate text and HTML calendars, inspect leap years, and extract weekday or month matrices using the calendar module
  • Automate file system navigation, directory creation, batch file renaming, metadata inspection, and OS environment queries with the os module
  • Copy, move, delete entire directory trees, check disk usage, and create or extract ZIP archives using the shutil module
  • Inspect Python runtime details, check object memory sizes, manage recursion limits, and list loaded modules with the sys module
  • Serialize and deserialize Python objects to disk using the pickle module for data persistence
  • Build persistent key-value storage databases to store, retrieve, update, and delete Python objects using the shelve module

Course content

12 sections • 130 lectures • 7h 17m total length
  • Welcome & Course Roadmap4:14

    Get an overview of the course structure, what you will build, and how mastering Python's built-in Standard Library empowers you to automate tasks without external dependencies.

  • Installing Python on Windows & Verifying Your Setup6:52

    Learn how to download, install, and configure Python properly on Windows, and verify your installation from the command line.

  • Multiple Ways to Run Your Python Scripts13:10

    Explore multiple methods for executing Python code, including the interactive shell running .py scripts via the terminal, and using an IDE.

  • Setting Up PyCharm for Productive Coding8:50

    Walk through downloading, installing, and setting up the PyCharm IDE to write, organize, and run your Python projects efficiently.

  • Navigating Python’s Built-in Help & Documentation3:08

    Discover how to access Python’s built-in help() utility and official documentation so you can look up modules, functions, and syntax independently.

Requirements

  • A Windows PC with internet access to download and install Python and PyCharm (full step-by-step installation is covered in Section 1)
  • No prior Python experience required—basic computer literacy (creating folders, managing files) is all you need, as the course starts from the very basics

Description

Unlock the True Power of Python—Without Installing a Single Third-Party Package

Many beginners jump straight into heavy external libraries without realizing how much Python can already do right out of the box. Whether you want to automate repetitive file management, perform advanced mathematical computations, manipulate dates and calendars, or store program data permanently, Python’s built-in Standard Library has everything you need.

This hands-on, step-by-step course takes you from your very first Python installation to mastering 10 essential built-in modules for operating system automation, math, time management, and data persistence. Designed with clarity and practical execution in mind, every concept is broken down into focused, easy-to-follow lectures so you build real confidence writing clean, dependency-free Python scripts.

What You Will Master in This Course

  • Complete Setup & Core Python Foundations: Install Python and PyCharm on Windows, explore multiple ways to execute Python scripts, and use built-in help utilities. You will also master arithmetic, assignment, comparison, logical, and membership operators alongside conditional statements and short-circuit evaluation.

  • Advanced Math & Randomization (math & random): Go beyond basic arithmetic with trigonometry, logarithms, combinatorics (perm, comb), Euclidean distance, factorials, GCD/LCM, and floating-point precision utilities. Learn to generate reproducible random numbers using seeds, simulate sampling with or without replacement, and shuffle sequences.

  • Dates, Timestamps, Performance & Calendars (datetime, time & calendar): Create, parse, format, compare, and calculate differences between dates and timestamps. Measure how fast your code runs, inspect system time zones, pause execution with sleep(), and generate text or HTML calendars while checking leap years and weekday matrices.

  • OS & File System Automation (os, shutil & sys): Automate everyday file and folder tasks—navigate directories, batch-rename files, inspect file sizes and timestamps, check disk usage, copy or delete entire directory trees, and create or extract ZIP archives. You will also query system hardware details (CPU count, OS name, drives) and inspect Python runtime internals like object memory size and recursion limits.

  • Object Serialization & Data Persistence (pickle & shelve): Save Python objects directly to disk and reload them later using pickling, or build lightweight, persistent key-value databases with shelve to store, retrieve, update, and remove data across sessions.

Enroll today and start automating tasks, managing files, and writing smarter Python programs using the tools already built into Python!

Who this course is for:

  • Complete beginners to Python who want a step-by-step start—from installing Python and PyCharm on Windows to writing scripts using core operators and conditional statements
  • Python learners and developers looking to master built-in standard library modules (math, random, datetime, time, calendar, os, shutil, sys, pickle, and shelve) for file automation, system tasks, and data persistence without relying on third-party packages