Skip to main content

2 posts tagged with "python"

View All Tags

Web Scraping using Python

· 3 min read
Muhamad Khadaffy
Full Stack Dev

Webscraping - BeautifulSoup

Image by: Mohammad Reza

Python stands out as an excellent choice for web scraping due to its inherent simplicity and readability, making it accessible for both beginners and experienced coders. Its true power in this domain, however, lies in its rich ecosystem of specialized libraries. Notably, Beautiful Soup excels at parsing the intricate structure of HTML and XML documents, acting as your guide to easily navigate and pinpoint desired elements within a webpage. Complementing this, the Requests library provides the essential functionality to send HTTP requests, effectively fetching the content of web pages for your scraping endeavors. Furthermore, the vast and active Python community ensures ample resources, tutorials, and support are readily available should you encounter any challenges along your scraping journey.

Base64 Encoder in Python

· 3 min read
Muhamad Khadaffy
Full Stack Dev

Base64

Image by: marquesfernandes.com

Think of Base64 as a translator. It takes binary data - the raw Os and 1s that computers understand - and converts it into a squence of printable ASCII characters. Why? because some systems are designed to handle text-based data ore reliably than raw binary. Imagine trying to send an image as a series of raw bytes through an email system that expects text! That's where Base64 comes to rescue.