Python for Automation and Security
0/10

Siraad Learn · Course

Python for Automation and Security

Let Python do the boring work — sort files, build reports, read logs — and write small tools that help protect your computer.

For learners who finished Programming with Python and want to use it for real work: in an office, in IT support or on the way to security.

0 of 10 modules completed

The steps for opening a terminal and scheduling scripts are for Windows; Linux commands are shown next to them.

Start the course →

How this course works

  1. Read a short lesson with pictures — no hard words without an explanation.
  2. Do the same thing on a real computer, step by step.
  3. Answer a short quiz. Pass with 80% and the module is marked complete.
Good to know

You need: a Windows computer with Python installed (Programming with Python, Module 1), and the skills from Programming with Python and Linux Fundamentals.

Tip

Every script in this course was tested on the practice files, and you can download the finished version to compare with your own.

What you will learn

1Automation basicsDecide when automating is worth it, set up a project folder with the practice files, run Python scripts from the terminal, and give a script information from the command line.55 min2Files and folders at scaleUse pathlib to list, sort, rename and copy many files safely: dry run first, never overwrite, and make dated backups.60 min3Working with dataRead and write CSV files, add up and rank values with dictionaries, work with dates, skip broken rows politely, and produce a report that opens in Excel.60 min4Text and patternsFind emails, phone numbers, dates and IP addresses in messy text with regular expressions, check what you found, and clean up text with string methods.60 min5Reading logsRead thousands of log lines with a script: pull out the parts you need with a pattern, count them with Counter, and report who is trying to sign in and what a website is being asked for.65 min6Files you can trustUse hashes as fingerprints of files: check a download, notice when files in a folder change, and understand why the fingerprint list must be kept safe.55 min7Passwords done rightGenerate strong passphrases with the secrets module, check passwords against simple rules, understand how passwords should be stored (salted and slowly hashed), and keep secrets out of your code.60 min8Talking to the networkCheck whether websites answer, look up addresses, and see which ports are open on your own computer — with timeouts, clear error messages and strict rules about permission.55 min9Running by itselfLet scripts run on a schedule with Windows Task Scheduler or Linux cron, write their own log with the logging module, and make them safe to run unattended.55 min10Final project: a small security toolkitCombine log reading and the changed-file check into one command with clear options, write a daily summary, review your code with a checklist, and plan your next steps.70 min★Final exam and certificateThe exam has 20 questions drawn at random from the whole course. You have 60 minutes and need 80% to pass. If you do not pass, you can try again after 24 hours, with new questions.Locked

Pass all module quizzes to unlock the final exam and your certificate.