Hi people! Recently, I was super confused when I found out that:
runs slower than:
I tried to think of a suitable answer but couldn’t find any. I timed the execution of both of these statements using the timeit module in Python3:
Continue reading Python dis module and constant folding
Hi everyone! Over the summers I did research on Wi-Fi and part of my research involved sending and receiving different kinds of IEEE 802.11 packets. I did most of this stuff using Scapy so I thought why not create a tutorial about it? When I started my research I had to look through multiple online articles/tutorials in order to get started with Scapy. In order to save you time I am going to bring you up-to speed by running you through a short tutorial. Continue reading Sending & Sniffing WLAN Beacon Frames using Scapy
Hi everyone! I am super proud to announce that my second book 🎉🎉“Practical Python Projects“🎉🎉 is alhamdulillah almost halfway done content-wise. This book is a direct result of a market gap which I found when I started programming a couple of years back. Most programming beginners have access to multiple resources to teach themselves the basics of Python (or any other language) but they don’t have access to those books/tutorials where they are taught to create end-to-end projects in a specific language. A fair amount of online tutorials and beginner textbooks teach the reader only the basics of a language without real-life concrete project development.
Continue reading Practical Python Projects Book
Hello everyone! I hope you are doing well. In this article, I’ll teach you the basics of web scraping using lxml and Python. I also recorded this tutorial in a screencast so if you prefer to watch me do this step by step in a video please go ahead and watch it below. However, if for some reason you decide that you prefer text, just scroll a bit more and you will find the text of that same screencast.
Continue reading An Intro to Web Scraping With lxml and Python
Hi everyone! I recently decided to step into YouTube video making. This is my first video about 14 of my most favourite and most famous Python libraries and frameworks. Please take a look and if you have ANY suggestions as to how I can improve the quality of the videos in the future please let me know in the comments below. Continue reading Top 14 MOST famous Python libraries & frameworks
Welcome back! This is the third post in the reverse engineering series. The first post was reverse engineering Soundcloud API and the second one was reverse engineering Facebook API to download public videos. In this post we will take a look at downloading private videos. We will reverse engineer the API calls made by Facebook and will try to figure out how we can download videos in the HD format (when available). Continue reading Reverse Engineering Facebook API: Private Video Downloader
In the last post we took a look at downloading songs from Soundcloud. In this post we will take a look at Facebook and how we can create a downloader for Facebook videos. It all started with me wanting to download a video from Facebook which I had the copyrights to. I wanted to automate the process so that I could download multiple videos with just one command. Continue reading Reverse Engineering Facebook: Public Video Downloader