Python Code Tutorials


articles/stock-prediction-with-python-using-tensorflow2-and-keras.jpg
How to Predict Stock Prices in Python using TensorFlow 2 and Keras

Predicting different stock prices using Long Short-Term Memory Recurrent Neural Network in Python using TensorFlow 2 and Keras.

articles/monitoring-directory-size-in-python.PNG
How to Get the Size of Directories in Python

Calculating the size of a directory in bytes in Python and plotting a pie using matplotlib to see which subdirectory takes most size.

articles/using-proxies-in-python.PNG
How to Use Proxies to Anonymize your Browsing and Scraping using Python

Prevent websites to ban your IP address while scraping websites or anonymizing your browsing using different proxy servers and methods in Python.

articles/html-table-extractor-in-python.png
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.

articles/random-data-generation-in-python-using-random-module.PNG
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.

articles/hashing-functions-in-python-using-hashlib_YTbljC1.PNG
How to Use Hash 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.

articles/handling-files-in-python-using-os-module.jpg
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.

articles/email-harvester-in-python.PNG
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.

articles/convert-python-files-to-executables.png
How to Convert Python Files into Executables

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

articles/sending-emails-using-python.PNG
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.