![Trending Articles on Technical and Non Technical topics](/images/trending_categories.jpeg)
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 27104 Articles for Server Side Programming
![Rohan Singh](https://www.tutorialspoint.com/assets/profiles/638564/profile/60_146647-1681360804.jpg)
1K+ Views
Dictionaries in Python allow you to store key−value pairs, making it easy to organize and access data efficiently. Sometimes, we may need to retrieve specific items from nested levels within a dictionary. We can use the isinstance() with the recursion method and dict.get() method to get the nested−level items from the dictionary. In this article, we will explore different ways to get particular nested−level items from Dictionary in Python. Nested Dictionary A nested dictionary is a dictionary that contains other dictionaries as values. This allows for the creation of hierarchical structures, where data is organized in a tree−like fashion. Each ... Read More
![Rohan Singh](https://www.tutorialspoint.com/assets/profiles/638564/profile/60_146647-1681360804.jpg)
2K+ Views
The Hyperlink−Induced Topic Search (HITS) algorithm is a popular algorithm used for web link analysis, particularly in search engine ranking and information retrieval. HITS identifies authoritative web pages by analyzing the links between them. In this article, we will explore how to implement the HITS algorithm using the Networxx module in Python. We will provide a step−by−step guide on how to install the Networxx module and explain its usage with practical examples. Understanding HITS Algorithm The HITS algorithm is based on the idea that authoritative web pages are often linked to by other authoritative pages. It works by assigning ... Read More
![Rohan Singh](https://www.tutorialspoint.com/assets/profiles/638564/profile/60_146647-1681360804.jpg)
150 Views
In Python, we can sort a dictionary by the value of a specific index, often referred to as kth index value by using various functions like Using the sorted() Function with a Lambda Function, Using the itemgetter() Function from the operator Module, Using a Custom Function with the sorted() Function, etc. In this article, we will understand these methods and how we can use them to sort a dictionary by kth index value in Python. Method 1: Using the sorted() Function with a Lambda Function This method utilizes the sorted() function with a lambda function as the key parameter to ... Read More
![Rohan Singh](https://www.tutorialspoint.com/assets/profiles/638564/profile/60_146647-1681360804.jpg)
824 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
![Rohan Singh](https://www.tutorialspoint.com/assets/profiles/638564/profile/60_146647-1681360804.jpg)
5K+ 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
![Rohan Singh](https://www.tutorialspoint.com/assets/profiles/638564/profile/60_146647-1681360804.jpg)
399 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
![Rohan Singh](https://www.tutorialspoint.com/assets/profiles/638564/profile/60_146647-1681360804.jpg)
865 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
![Rohan Singh](https://www.tutorialspoint.com/assets/profiles/638564/profile/60_146647-1681360804.jpg)
2K+ 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
![Rohan Singh](https://www.tutorialspoint.com/assets/profiles/638564/profile/60_146647-1681360804.jpg)
2K+ Views
In Python, saving files with user−defined file names is a common requirement in various applications and projects. By allowing users to specify the file name, we can provide them with a more personalized and customizable experience. This article will explain the process of saving files with file names provided by the user, using Python. Algorithm A general algorithm for saving file with file name from user is as follows: Prompt the user to enter the desired file name. Check if the file name ends with the desired file extension. If not, append it. Create a file object using ... Read More
![Atharva Shah](https://www.tutorialspoint.com/assets/profiles/626166/profile/60_735606-1679646268.png)
2K+ Views
Online apps are growing more and more common and are now a necessary part of our daily life. Form submission is one of the essential components of online applications. The standard procedure when completing a form on a web page is to click the submit button, which delivers the information to the server for processing and yet, consumers may see this as sluggish and difficult. This blog article will examine how to quickly and effectively submit forms in Flask without having to reload the page, improving user experience. Installation and Syntax Before we delve into the details of how to ... Read More