- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 9416 Articles for Python

Updated on 24-Mar-2023 14:23:02
What is Python Web Scraping? Python Web Scraping is an automatic method of collecting data from the web and its different websites, and performing further operations on the data. These may include storing the data in a database for future references, analyzing the data for business purposes, and providing a continuous stream of data from different sources in a single place. Some common methods of web scraping High performance Simple syntax Available existing frameworks Universality of Python Useful data representation Let us take a detailed look. Reason 1: High Performance Python scripts written for web scraping ... Read More 
Updated on 24-Mar-2023 14:19:42
Introduction In Python, the sorted() function is one of the most basic but useful methods to know while getting started with sorting. This function can be used to sort elements of an iterable object, like lists, strings etc. This function sorts both strings as well as numbers. By default it sorts in ascending order, although descending order sorts are also possible. Methods for using Sorted() function Sorting numbers using Sorted() Sorting lists, tuples, sets and dictionary Sorting strings Sorting inside lambda function Method 1: Sorting numbers using Sorted() The most basic implementation of the sorted() function is ... Read More 
Updated on 24-Mar-2023 14:11:49
The coolest Python program I have ever made is Python password hasher. Let's first understand what python password hashing is. What is Password Hashing? Python Password hashing is a form of advanced encryption which can be used to store passwords online safely. In today’s world of everything being online, user passwords are one of the most easily attacked sensitive information on the internet. The password string is converted to a string of random characters using different hashing algorithms, which have been used in my program. The user is instructed to input the password string, then select the appropriate hashing algorithm ... Read More 
Updated on 24-Mar-2023 14:09:40
What is a Dictionary in Python? A dictionary is Python’s own indigenous representation of a data structure, and can be considered similar to maps in C++. It is a dynamic data structure which stores key-value pairs dynamically, and is mutable. It can be better understood as an associative array, where each element is associated with its key value. Can one key hold more than one value? Although dictionaries in Python store values as key-value pairs, it is possible to store more than one value corresponding to the same key in a dictionary. This is performed by setting containers like ... Read More 
Updated on 24-Mar-2023 14:02:38
Introduction Python is one of the most popularly used languages in today’s world, with its application spread out in a wide range of domains, ranging from applied fields like computer vision and IoT, to Machine Learning and data-based fields such as Data Analysis. Along with this, Python is one of the easiest languages to start one’s programming journey with, due to its very easy syntax and ease of writing code. Thus here we will look at some steps to learn Python as a beginner. Steps Learning the basics Maintaining consistency Become a part of peer groups Build ... Read More 
Updated on 24-Mar-2023 14:01:12
Introduction Python Integers are one of the primary data types, and are used for almost all major mathematical and logical operations. In Python, integers are zero, positive or negative whole numbers without a fractional part and having unlimited precision.They can be expressed in binary, octal and hexadecimal values. In this article, we will learn how to obtain the sign of an integer. Methods Used Using simple mathematical comparison with zero Using copysign() function of math module Using numpy.sign() function Creating a method with abs() function Method 1: Using Mathematical Comparison with Zero We ... Read More 
Updated on 24-Mar-2023 13:58:32
What is an Interpreter? The Python interpreter works as a computer converter that converts high-level language to low-level machine language, which is essential for the computer to understand the code written by a programmer. Python codes are executed by an interpreter called CPython, which is written in C language and executes instructions in a block of code one line after another. Steps used Lexing Parsing Creation of byte code Conversion to machine-executable code Returning output Let’s dive into the steps in detail. Step 1: Lexing The first step of analyzing a code block in ... Read More 
Updated on 23-Mar-2023 16:54:26
Introduction Multilingual Google Meet summarizer is a tool/chrome extension that can create transcriptions for google meet conversations in multiple languages. During the COVID times people, they need a tool that can effectively summarize meetings, classroom lectures, and convection videos. Thus such a tool can be quite useful in this regard. In this article, let us have an overview of the project structure and explore some implementation aspects with the help of code. What this project is all about? This is a simple chrome extension that when enabled during a google meet session can generate meeting transcriptions and summarize the conversation ... Read More 
Updated on 23-Mar-2023 16:48:21
Introduction Teaching Learning Based Optimization (TLBO) is based on the relationship between a teacher and the learners in a class. In a particular class, a teacher imparts knowledge to the students through his/her hard work. The students or learners then interact with each other among themselves and improve their knowledge. Let us explore more about Teacher Learning Based Optimization through this article. What is TLBO? Let us consider a population p (particularly a class) and the number of learners l in the class. There may be decisive variables (subjects from which learners gain knowledge) for the optimization problem. Two modes ... Read More 
Updated on 23-Mar-2023 16:33:23
Introduction Image Segmentation is the process of partitioning an image into multiple regions based on the characteristics of the pixels in the original image. Clustering is a technique to group similar entities and label them. Thus, for image segmentation using clustering, we can cluster similar pixels using a clustering algorithm and group a particular cluster pixel as a single segment. Thus, let's explore more image segmentation using clustering, Image Segmentation The process of image segmentation by clustering can be carried out using two methods. Agglomerative clustering Divisive clustering In Agglomerative clustering, we label a pixel to a close ... Read More Advertisements