Python is so powerful!
Web scraping allows us to extract the public data from website so that we can use it for some purpose.
Usually, we can only view the downloaded web page but what if you want to automate or you want to extract the TSLA stock price every other minute? Yes, it is possible to do it manually but this way is too time-consuming, not scalable, and highly not recommended. That’s where web scraping comes to help us gather and use valuable data that isn’t always available via APIs.
In this post, we’ll learn how to use BeautifulSoup…
OpenCV uses machine learning algorithms that can be used for face detection, object tracking or colors detection. In this post, we’ll learn how to use Haar Cascade algorithm to detect face and eyes in real time. A haar cascade is basically an Object Detection Algorithm used to identify faces in an image or a real time video. Let’s dive in.
I’ve been using Ubuntu as my primary operating system for more than two years now. If you are comfortable with the command line, you can learn a lot of different skills very quickly and with minimal hassle. In this blog, I have shared the list of 20 basic Linux commands that are very helpful for Ubuntu beginners in daily life. I recommend you not just copy-paste these commands, type these commands by yourself so that you can remember them in future.
Before starting, here is a small tip for Linux lovers: You can check the Internet Speed via terminal just…
Last week I was laying in bed trying to sleep but then I had this weird thought of why do I always start anything new with Hello World? Not only that, I always find other programmers typing Hello World as the first example in any programming language. I remembered I wrote my first computer program back in 2018 that was just printing Hello World. But why Hello World? So I researched a little bit about the history and thought it would be cool to share it with you guys.
“Hello, World” program was very first written by Brian Kernighan as…
You build a stunning portfolio website and now want to showcase your work to the world. You know some amazing platforms like AWS, Azure, and Bluehost for hosting but you’re tight on budget and looking for something extremely cheap as low as $0. How does this sounds? Hosting a website for free? Yes, you heard it right. You can deploy your static website for free and this is a how-to guide for hosting website on GITHUB PAGES with a custom domain for free. It’s easy and won’t take more than more than 10 minutes.
Create a new repository with your…
tldr; Buy some bitcoin and do not under any circumstances try to sell it.
Let me take you back to 2018, I always want to make quick money. I saved some money to start some side hustle, to make some passive income. I had few options, start an eCommerce store, buy the stocks of top-performing companies or invest in some mutual funds. But there was a problem, I was under 18 and there are so many restrictions for the teenagers willing to invest internationally.
One day, I was scrolling Reddit and found a post about how someone made millions when…
Python turns 30 this week :)
Python turns 30 this week and it’s a fun way to celebrate the birthday by documenting different string formats tricks in a form of a blog.
In this post, we’ll learn good practices for String formatting. There are two available options, one is using format() while in the second one “%” operator is used to formatting a set of variables enclosed in a “tuple”, along with a format string, which contains normal text together with “argument specifiers”. Let’s dive into the code.
The code we see everywhere to print goes like this.
Python is so powerful. The popularity and growth of Python is increasing day by day. Not only that, it’s easy to learn and use. What makes it unique is hundreds of open source python libraries and framework. In this post, we explore Flask, a micro and light weight web framework that you can use to save your time and effort by providing the required functionality.
We’ll start by installing the required libraries to start working with Flask and end by writing our all time favorite program “Hello World”. Let’s dive in.
1- Install virtualenv.
python3 -m pip install --user virtualenv
Python is so powerful!
This is the second article of my web scraping guide. In the first article,I showed how to use BeautifulSoup & Requests to perform a quick and effective web-scraping for TSLA Stock Price Alert, an email was automatically generated to notify the price drop.
Scraping the single pages using beautiful soup is easy but what if you want to scrap the multiple pages at a time or want to automate this process? Yes, it is possible to do it manually but this way is too time-consuming, not scalable, and highly not recommended.
In this post, we’ll learn…
The list of books that I read in 2020. Excited for what 2021 holds for me.
1- Atomic Habits — James Clear (Link)
2- The Moment Of Lift — Melinda Gates (Link)
3- Barking up the wrong tree — Eric Barker (Link)
4- 11 Life Lessons from Nelson Mandela — Ndaba Mandela (Link)
5- 21 Lessons for the 21st century — Yuval Noah Harari (Link)
6- Start With Why — Simon Sinek (Link)
7- When Breath Becomes Air — Paul Kalanithi (Link)
8- 12 Rules for Life: An Antidote to Chaos — Jordan Peterson (Link)