Python Code Tutorials

How to Convert HTML Tables into CSV Files in Python

Extracting HTML tables using requests and beautiful soup and then saving it as CSV file or any other format in Python.

How to Generate Random Data in Python

Generating random integers, floating point numbers, strings and bytes using random, os and secrets built-in modules in Python.

How to Use Hashing Algorithms in Python using hashlib

Using different hashing algorithms such as SHA-2, SHA-3 and BLAKE2 in Python using hashlib built-in module for data integrity.

How to Handle Files in Python using OS Module

Handling files in Python using os module including creating, renaming, moving, removing files and directories, listing all current files and directories and more.

How to Make an Email Extractor in Python

Building a Python tool to automatically extract email addresses in any web page using requests-html library and regular expressions in Python.

How to Convert Python Files into Executables

Using PyInstaller package to bundle Python applications and all its dependencies into a single stand-alone executables.

How to Send Emails in Python using smtplib Module

Using Python standard library smtplib and email modules to connect to any SMTP server and send emails in Python automatically.

How to Manipulate IP Addresses in Python using ipaddress Module

Using ipaddress standard Python library to manipulate IPv4 and IPv6 addresses, networks, subnets and more.

How to Build a XSS Vulnerability Scanner in Python

Building a Python script that detects XSS vulnerability in web pages using requests and BeautifulSoup.

How to Execute Shell Commands in a Remote Machine in Python

Learning how you can execute shell commands and scripts on a remote machine in Python using paramiko library.