Python Code Tutorials


articles/speech_recognition_JrJ6qTa.PNG
How to Convert Speech to Text in Python

Learn how to convert speech to text in Python with modern 2026 STT tools: OpenAI gpt-4o-transcribe, Faster-Whisper, Groq Whisper, long-audio chunking, subtitles, and microphone recording.

articles/reading-emails-in-python.PNG
How to Read Emails in Python

Learn how you can use IMAP protocol to extract, parse and read emails from outlook, aol, office 365 and other email providers as well as downloading attachments using imaplib module in Python.

articles/pdf-table-extractor-python.png
How to Extract Tables from PDF in Python

Learning how to extract tables from PDF files in Python using camelot and tabula libraries and export them into several formats such as CSV, excel, Pandas dataframe and HTML.

articles/keylogging-thepythoncode.jpg
How to Make a Keylogger in Python

Creating and implementing a keylogger from scratch that records key strokes from keyboard and send them to email or save them as log files using Python and keyboard library.

articles/python-control-mouse.jpg
How to Control your Mouse in Python

Controlling computer mouse in python. Hooking events, registering hotkeys, simulating mouse movements and click, and much more.

articles/file-encryption.PNG
How to Encrypt and Decrypt Files in Python

Encrypting and decrypting files in Python using symmetric encryption scheme with cryptography library.

articles/control-keyboard-with-python.jpg
How to Control your Keyboard in Python

Learn how to control your keyboard in Python: press keys, type text, create global hotkeys, expand snippets, record/replay macros, and compare keyboard, pynput, and PyAutoGUI.

articles/transfer-files-python_ORB9NNo.jpg
How to Transfer Files in the Network using Sockets in Python

Writing a server and client Python scripts that receives and sends files in the network using sockets module in Python.

articles/translate-text-in-python.PNG
How to Translate Languages in Python

Learn how to make a language translator and detector using Googletrans library (Google Translation API) for translating more than 100 languages with Python.

articles/text-to-speech-in-python.PNG
How to Convert Text to Speech in Python

Learn how you to perform speech synthesis by converting text to speech both online and offline using gTTS, pyttsx3, openai or huggingface transformers libraries in Python.

articles/image-metadata-extractor-in-python.png
How to Extract Image Metadata in Python

Learn how you can extract image metadata such as GPS info, camera make, model and much more using Exchangeable Image file Format (EXIF) in Python with Pillow library.

articles/sys-info.jpg
How to Get Hardware and System Information in Python

Learn how to get hardware and system information in Python using psutil, platform, py-cpuinfo, and nvidia-smi: OS, CPU, RAM, disks, network, sensors, GPU, JSON reports, and top processes.

articles/automate-login-using-selenium-in-python.PNG
How to Automate Login using Selenium in Python

Learn how to use Selenium library with Chrome driver in Python to login to websites automatically as well as verifying login success.

articles/reverse_shell.jpg
How to Create a Reverse Shell in Python

Building a reverse shell in Python using sockets that can execute remote shell commands and send the results back to the server.

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/use-gmail-api-in-python.PNG
How to Use Gmail API in Python

Learn how to use Gmail API to send emails, search for emails by query, delete emails, mark emails as read or unread in Python.