Python Fundamentals

Overview

Beginner-to-intermediate Python with hands-on tools and small projects such as a basic port scanner.

Basics

Key Python fundamentals: variables, data types, control flow, functions and modules — with short examples and recommended resources to practice.

Working with Libraries

Using pip and venv effectively, plus examples using requests, argparse, and pathlib to write useful scripts.

Creating Tools: Port Scanner

Step-by-step walkthrough building a simple TCP port scanner, covering sockets, optional threading, and safe legal/ethical considerations for testing.

Testing & Packaging

Intro to pytest for testing small scripts and guidance on packaging scripts for reuse or sharing.

Next Steps

Suggested follow-up projects: web scraping, automation, small web apps, and how to showcase work in a portfolio.