Skip to main content

3 posts tagged with "Tutorial"

Step-by-step guides and educational content to help you learn new skills and concepts.

View All Tags

Using Your Custom Context Manager in Python

· 3 min read
Sudip Parajuli
Full Stack Django Developer | Data Science | IoT and Robotics

Many of you have used with open() as something: on file opening and similar tasks. But have you ever questioned yourself whether you can write your own custom context manager in Python? Yes, you heard that right! A context manager allows us to perform some setup and cleanup actions within a context, ensuring the necessary cleanup is done once the execution of the code is finished.

Data Scraping, A complete Beginner Friendly Guide to Become Expert

· 6 min read
Sudip Parajuli
Full Stack Django Developer | Data Science | IoT and Robotics

Web scraping is a technique that allows us to extract data from websites. BeautifulSoup or bs4 is one of the most popular Python libraries that provides us with a way to scrape data from a website. In this blog, we will learn how to get started with BeautifulSoup4 and what are the next steps to follow.