
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- 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 10476 Articles for Python

10K+ Views
Sending emails from javascript is a common feature in most web applications. It allows you to automate notifications, send user−generated content, or facilitate communication with your users. We can use different methods like using Malito protocol, sending Emails with a Server−Side Language, and Implementing Email Sending through an API to send emails from Javascript. In this article, we will explore all of these methods to send email using javascript. Basics of Sending Email Before implementing the email−sending feature using different libraries and methods we need to what are the basic requirements to send emails. At a high level, sending an ... Read More

7K+ Views
In web development, it is often necessary to provide users with an intuitive and convenient way to select all text within an HTML text input field when they click on it. This feature can greatly enhance user experience, especially when dealing with lengthy or pre−filled input fields. In this article, we will explore how to achieve this functionality using JavaScript. What does Selecting all text in HTML text input means? When a user clicks on an HTML text input field, we want the entire text within that field to be automatically selected, allowing the user to easily modify or ... Read More

4K+ Views
To select a random element from array in Javascript, means getting any random element from the given array. We will understand various approaches for selecting a random element from array. In this article, we are having an array and our task is to select a random element from array in JavaScript Approaches to select a random element from array Here is a list of approaches to select a random element from array in JavaScript which we will be discussing in this article with stepwise explaination and complete example codes. Using Math.random() Method ... Read More

1K+ Views
When working with objects, we often need to search for the max value of an attribute in an array of objects. We can use various javascript inbuilt functions like reduce() method, and map() method and we can also use a simple for loop to search for the max value. In this article, we will explore all these methods and explain the methods with the help of examples. Method 1:Using for loops In this method, we iterate through the array of objects using a loop and compare the attribute value of each object with the current maximum value. Syntax for ... Read More

1K+ Views
JSON (JavaScript Object Notation) is a data format that is widely used when transmitting data between the server and a web application. In many cases, the JSON data has a complex structure, and searching for specific data requires some special function implementation. jQuery, a popular JavaScript library, provides powerful methods to navigate and search JSON trees efficiently using the .each() method, filter(), and grep methods. In this article, we will explore all these methods to search JSON trees with the help of jQuery. Understanding JSON Trees JSON data is organized in a hierarchical structure, often referred to as a JSON ... Read More

9K+ Views
Searching for a string in text files is an important task while doing data analysis on text data. In Python, we can search for a string in textfile using various methods like reading and searching line by line, reading the entire file, and using regular expressions, using the grep command, etc. Method 1:Reading and Searching Line by Line One straightforward approach is to read the text file line by line and search for the desired string in each line. This method is suitable for smaller text files. Syntax for line in file: ... Read More

792 Views
Pickle is a Python module that is used for serializing and deserializing Python objects. It allows you to save and load complex data structures, such as lists, dictionaries, and even custom objects, in a binary format. Pickling objects is a great way to store data, you might encounter scenarios where you need to search for specific information within a pickle file. In this article, we'll explore various methods to search a pickle file in Python. Understanding Pickle File A pickle file is a binary file that contains serialized Python objects. The pickle module in Python provides functions to ... Read More

1K+ Views
Instagram is a popular social media platform that allows users to connect and share content with their followers. As a developer, there might be a need to automate certain tasks on Instagram, such as extracting follower data. Instagram's follower popup only loads a limited number of followers at a time, requiring users to scroll down to view more followers. In this article, we will explore how to scroll down the followers popup on Instagram using Python. Syntax webdriver.Chrome('path/to/chromedriver Here, this method is used to create an instance of the Chrome WebDriver. It requires providing the path to the chromedriver ... Read More

3K+ Views
The pyttsx3 is a Python library that provides a simple interface for using TTS synthesis. Text to Speech (TTS) converts written text to spoken words. It is mainly used to generate speech from text and customize various aspects of the speech audio. The speech output generated by the pyttsx3 library is often saved as an audio file in popular formats like MP3 or WAV. This article will discuss how we can save pyttsx3 results to MP3 or WAV files. Algorithm A general algorithm for saving the pyttsx3 result to mp3 or WAV file is as follows : Import ... Read More

4K+ Views
The high-level, interpreted programming language Python comes with a number of built-in data structures, including lists, tuples, sets, and dictionaries. These data structures are essential to the Python programming environment because they provide efficient ways to store and manage data. This article compares and contrasts several data structures, highlighting their advantages, disadvantages, and best-use scenarios in order to aid developers. List A list is an arranged data structure indicated by the square sections []. Since it is a variable information structure, you might change any of its parts whenever they have been added. You can add, remove, or ... Read More