Content
Searching Algorithms | iRead
python
java
dsa
searching
algorithms
coding
Searching Algorithms | iRead

Searching Algorithms | iRead

In this post, two important Searching Algorithms - Linear Search and Binary Search have been discussed, with code implementation and time complexity a...

Selection Sort | iRead
python
java
dsa
sorting algorithms
coding
time complexity
Selection Sort | iRead

Selection Sort | iRead

In this tutorial, we will learn about the Selection Sort algorithm and its implementation in Python and Java. Along with that, we shall also discuss i...

Bubble Sort | iRead
python
java
dsa
sorting
bubble sort
time complexity
coding
Bubble Sort | iRead

Bubble Sort | iRead

In this tutorial, we will learn about the bubble sort algorithm and its implementation in Python and Java. Along with that, we shall also discuss its ...

Do You Really Need Environment Variables in Python? | iRead
python
projects
software development
coding
environment variables
Do You Really Need Environment Variables in Python? | iRead

Do You Really Need Environment Variables in Python? | iRead

In this blog, we’re going to talk about what environment variables are, why they are important, and how they can be used. We’ll walk through various e...

Encrypt and Decrypt PDF Files using Python | iRead
python
scripts
Encrypt and Decrypt PDF Files using Python | iRead

Encrypt and Decrypt PDF Files using Python | iRead

In this blog, we'll learn how can we set a password to protect a PDF file. We’ll be using the PyPDF2 module to encrypt and decrypt our PDF files.

Creating a News Application using Flask | iRead
python
flask
projects
news application
Creating a News Application using Flask | iRead

Creating a News Application using Flask | iRead

In this blog, we will be creating our first web application, i.e., a News Application using Flask. We'll learn about templates, static files, and APIs...

DSA Sheets You Must Solve | iRead
dsa
interviews
dsa sheets
DSA Sheets You Must Solve | iRead

DSA Sheets You Must Solve | iRead

Are you preparing for technical interviews? Presenting you the DSA Sheets by FAANG experts like Love Babbar, Striver Bhaiya, Sahil Srivastava and Kuna...

How to display numbers with leading zeros using Python? | iRead
python
How to display numbers with leading zeros using Python? | iRead

How to display numbers with leading zeros using Python? | iRead

In this blog, we'll see various ways to display numbers with leading zeros in Python.

Builds Labs
How to Create a Horoscope API with Beautiful Soup and Flask

How to Create a Horoscope API with Beautiful Soup and Flask

<p>Have you ever read your horoscope in the newspaper or seen it on television? Well, I'm not sure about other countries, but in my country of India, people still read their horoscopes.</p> <p>And this is where I got the idea for this tutorial. It might sound a bit old-fashioned, but the main focus here is not on the horoscope itself &ndash; it's just the vehicle for our learning.</p> <p>In this lab, we're going to scrape a website called <a href="https://www.horoscope.com/us/index.aspx">Horoscope.com</a>&nbsp;using Beautiful Soup and then create our own API using Flask. This API, if deployed on a public server, can then be used by other developers who would wish to create a website to show their horoscope or an app for the same.</p>

5

Virtual Personal Assistant Using Python

Virtual Personal Assistant Using Python

<p><span style="background-color: #f1c40f;">In this lab, we'll be creating a virtual personal assistant for ourselves using our favorite programming language, Python. We can perform several offline as well as online operations using the bot.</span></p> <p><span style="background-color: #f1c40f;">Do you remember J.A.R.V.I.S., Tony Stark's virtual personal assistant? I'm sure you do!</span></p> <p><img src="https://res.cloudinary.com/dlomjljb6/image/upload/v1637203906/media/blog/uploads/2021/11/18/juaraveinsy_t0njeo.png" alt="" width="342" height="427" /></p> <p>Have you ever wondered about creating your own personal assistant? Yes? Tony Stark can help us with that! Oops, did you forget he is no more? It's sad that he cannot save us anymore.</p> <p><img src="https://res.cloudinary.com/dlomjljb6/image/upload/v1637204137/media/blog/uploads/2021/11/18/tony-snap2_rv5gmh.jpg" alt="" width="415" height="218" /></p> <p>But hey, your favorite language Python can help you with that. Yes, you heard it right. We can create our own J.A.R.V.I.S. using Python. Let's roll it!</p>

7

How to create a URL Shortener using Flask?

How to create a URL Shortener using Flask?

<p>In this lab, we will build a&nbsp;<em>URL shortener</em>, a service that takes any URL and generates a shorter, more readable version like&nbsp;<a href="https://bitly.com/" target="_blank" rel="noopener">bit.ly</a>. For this purpose, we&rsquo;re going to use Flask. The application will allow users to enter a URL and an optional custom short id and generate a shorter version.&nbsp;</p> <p>Originally posted on my blog: <a href="https://iread.ga/posts/37/url-shortener-using-flask" target="_blank" rel="noopener">https://iread.ga/posts/37/url-shortener-using-flask</a></p> <p>&nbsp;</p>

5

GUI Quiz Application using Tkinter and Open Trivia DB

GUI Quiz Application using Tkinter and Open Trivia DB

<p>In this lab, we'll learn to build a <a href="https://en.wikipedia.org/wiki/Graphical_user_interface">Graphical User Interface</a>&nbsp;(GUI)&nbsp;<strong>Quiz Application</strong>&nbsp;using the&nbsp;<a href="https://docs.python.org/3/library/tkinter.html">Tkinter</a>&nbsp;Python built-in module.&nbsp;The task is to ask multiple-choice questions, collect user answers and finally display the results. Before coding the GUI, we'll first see how to fetch multiple-choice questions, their correct answers, and the choices from the&nbsp;<a href="https://opentdb.com/">Open Trivia DB API</a>.&nbsp;The&nbsp;<strong>Open Trivia Database</strong>&nbsp;provides a completely free JSON API for use in programming projects. Use of this API&nbsp;<strong>does not require</strong>&nbsp;an API Key. To make the task more interesting, we'll also randomize the order of&nbsp;choices.&nbsp;</p> <p>The following modules and concepts will be utilized in this project:</p> <ul> <li><a href="https://docs.python.org/3/library/tkinter.html">tkinter module</a></li> <li><a href="https://docs.python.org/3/library/random.html">random module</a></li> <li><a href="https://pypi.org/project/requests/">requests library</a></li> <li><a href="https://docs.python.org/3/tutorial/classes.html">Python Classes</a></li> </ul> <p>We'll be segregating our different functionalities into different classes and files.</p>

3

Cookies

This website uses cookies to improve your online experience. By continuing to use this website, you agree to our use of cookies. If you would like to, you can change your cookie settings at any time. Our Privacy Notice provides more information about what cookies we use.