Python 3.10, the latest in-development version of Python, has been released in its second beta version. With the beta release, the feature set for Python 3.10 has been locked down, and intrepid Python developers are encouraged to test their code against the latest builds (although not in a production environment, of course).
Here’s a rundown of all of the major new features in Python 3.10, with a discussion of how they can help your code.
It is the most anticipated feature of Python 3.10. This feature introduces a switch/case-like feature as we have in other programming languages to Python. In…
An API, or Application Programming Interface, is a server that we can use to retrieve and send data using code. APIs are most commonly used to retrieve data, and that will be the focus of this beginner tutorial.
When we want to receive data from an API, we need to make a request. Requests are used all over the web. For instance, when you visited this blog post, your web browser made a request to the iRead web server, which responded with the content of this web page.
In this blog, we’ll be building five different Python projects. These projects will be a little bit above the beginner’s level, so we can consider them as Intermediate Python Projects. So, we are going to build the below mentioned five projects :
Having that said, let’s jump to building these cool projects.
In this project, we’ll be using Web Scraping to get the image link of the profile image of a particular Github user. …
The term API is an acronym, and it stands for “Application Programming Interface”.
Think of an API like a menu in a restaurant. The menu provides a list of dishes you can order, along with a description of each dish. When you specify what menu items you want, the restaurant’s kitchen does the work and provides you with some finished dishes. You don’t know exactly how the restaurant prepares that food, and you don’t really need to.
Let’s explore some cool, unique and fun APIs today.
So, the first API we are going to explore is from removal.ai. Removal.ai makes…
You might have seen an eye button that toggles the password visibility in Signup or Login forms on various websites. This button is important since there are many criteria to be followed while setting a password, so we might need to see if our password matches the pattern. This feature is quite popular and can be added to Flutter App as well.
Let’s look at the final output first to have an idea about what we are going to build :
In the last part, we had a look at Lists and Linked Lists. In this part, we are going to learn about another data structure called Stack.
Consider this situation: Sophia is arranging the shirts of David one on top of the other in the cupboard. She is very particular that David should always wear the shirt at the top.
In the last part, we had discussed about the basics of Linked List and how to add elements in a linked list as well as its traversal. In this part, we shall discuss few more operations on Linked List such as Search, Insert and Delete. Along with this, we’ll also compare Arrays with Linked Lists.
At times, Sophia can come across situations when she wants to check whether her list contains an item or not. Let’s learn how we can search elements in a linked list.
In the last part, we ended up the below code :
This is in continuation of our Data Structures and Algorithms using Python series. In the last part, we discussed about Lists and its implementation using Array. As a conclusion, we had found that list can lead to memory wastage if implemented using Array. In this part, we shall go through the implementation of list using another data structure called Linked List.
As Sophia’s list is going to have frequent additions and deletions, it may not be a good choice to implement it using arrays.
There is one more implementation for list which is using Linked List. …
This is the second part of our Data Structures and Algorithms using Python series where we are going to learn about the first data structure called Lists.
If you haven’t read the first part yet, find it here where we introduced Data Structures in brief.
Let’s assume this scenario first:
It was a Saturday morning and Sophia was in the grocery shop with her list of grocery items. The list kept on changing as she moved from one section of the shop to another. She added few items, removed few and kept on scanning the list. …
In this series, I’ll introduce the basic concepts of Data Structures in programming using Python language constructs. In common words, Data Structures are storage containers in which elements can be stored, located, retrieved and deleted from, easily. Data Structures make the organization and management of large amounts of data efficiently.
When you provide a search term in Google and click on search, you get the search results in a fraction of second.