![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
![Priya Sharma](https://www.tutorialspoint.com/assets/profiles/695801/profile/60_3819587-1692171303.jpg)
125 Views
In Python, tuples are immutable sequences that can store multiple elements of different types. They are often used to represent collections of related values. Tuple summation involves adding the corresponding elements of two or more tuples to produce a new tuple. However, in some scenarios, it may be necessary to compute the absolute sum of the elements rather than the traditional sum. In this blog post, we will explore how to perform absolute tuple summation in Python. Traditional Tuple Summation Before diving into absolute tuple summation, let's first understand how to perform traditional tuple summation. Given two tuples of the ... Read More
![Priya Sharma](https://www.tutorialspoint.com/assets/profiles/695801/profile/60_3819587-1692171303.jpg)
2K+ Views
When working with hierarchical data in graphical user interfaces (GUIs), it's often necessary to display the data in a structured and organized manner. The Treeview widget in Python-Tkinter provides a powerful solution for presenting hierarchical data in a user-friendly way. However, as the number of items in the Treeview grows, it becomes crucial to include a scrollbar to ensure smooth navigation and usability. Firstly, ensure that you have Python and Tkinter installed on your system. Python 3 is recommended for compatibility and improved features. If you don't have Tkinter installed, you can easily install it using pip, the Python package ... Read More
![Priya Sharma](https://www.tutorialspoint.com/assets/profiles/695801/profile/60_3819587-1692171303.jpg)
1K+ Views
NumPy, the fundamental package for scientific computing in Python, provides powerful tools for working with homogeneous multidimensional arrays. While NumPy arrays excel at handling uniform data types efficiently, there are cases where we need to work with structured data containing heterogeneous types. This is where structured arrays come into play. Structured arrays in NumPy allow us to work with tabular or structured data, where each element of the array can have multiple fields with different data types. This capability makes NumPy a versatile library for handling a wide range of data, including CSV files, database tables, and more. Creating Structured ... Read More
![Priya Sharma](https://www.tutorialspoint.com/assets/profiles/695801/profile/60_3819587-1692171303.jpg)
533 Views
The Rubik's Cube, a 3D mechanical puzzle, has fascinated puzzle enthusiasts since its invention in 1974. Solving the Rubik's Cube can be a daunting task, but with the power of Python and the Pytwisty library, we can develop an efficient and elegant Rubik's Cube solver. In this blog post, we will explore the step-by-step process of building a Rubik's Cube solver using Python and Pytwisty. We will cover the necessary algorithms, data structures, and techniques to create a functional solver that can solve any scrambled Rubik's Cube configuration. Prerequisites Before we dive into the implementation, make sure you have the ... Read More
![Priya Sharma](https://www.tutorialspoint.com/assets/profiles/695801/profile/60_3819587-1692171303.jpg)
859 Views
In the realm of Python programming, we often encounter scenarios where audio output can greatly enhance the user experience or provide valuable feedback. The winsound module, available in the Windows operating system, is a powerful tool for generating sound effects, melodies, and simple tones directly from your Python scripts. In this blog post, we will delve into the capabilities of the winsound module and explore various examples of how it can be utilized effectively. Getting Started with Winsound The winsound module provides a straightforward interface for generating sound in Windows. Before we dive into the practical applications, let's first understand ... Read More
![Priya Sharma](https://www.tutorialspoint.com/assets/profiles/695801/profile/60_3819587-1692171303.jpg)
601 Views
When developing Python applications, it's often necessary to create programs that accept key-value pairs as input arguments. Key-value pairs provide a flexible way to pass data to a program, allowing customization and parameterization. Fortunately, Python offers a powerful module named argparse that simplifies the process of building command-line interfaces, including handling key-value pairs. When it comes to building command-line interfaces in Python, the argparse module is an incredibly useful tool. It simplifies the process of handling command-line arguments and provides a clean and intuitive way to define and parse them. The argparse module offers a wide range of functionalities, including ... Read More
![Priya Sharma](https://www.tutorialspoint.com/assets/profiles/695801/profile/60_3819587-1692171303.jpg)
122 Views
NumPy (Numerical Python) is a powerful library in Python for scientific computing. It provides a high-performance multidimensional array object and tools for working with these arrays. NumPy provides flexible ways to access elements within arrays. You can use indexing and slicing operations to retrieve specific elements or sections of an array. Indexing In NumPy, indexing starts at 0, similar to Python lists. You can access individual elements of an array by specifying their indices within square brackets. For example, given an array arr, you can access the element at index i using arr[i]. Slicing NumPy arrays also support slicing, ... Read More
![Priya Sharma](https://www.tutorialspoint.com/assets/profiles/695801/profile/60_3819587-1692171303.jpg)
1K+ Views
Python is a versatile and widely used programming language known for its simplicity and readability. It offers a plethora of powerful data structures to efficiently handle and manipulate complex data. This feature enables you to organize data in a structured manner. In this blog post, we will delve into the process of accessing items in lists within a dictionary using Python. We will explore various techniques to retrieve and modify data, providing you with a comprehensive understanding of this fundamental concept. Creating a Dictionary with Lists Before we dive into accessing items, let's start by creating a dictionary that contains ... Read More
![Priya Sharma](https://www.tutorialspoint.com/assets/profiles/695801/profile/60_3819587-1692171303.jpg)
3K+ Views
Python is a powerful and versatile programming language that provides a wide range of data structures to handle complex data. They offer a flexible and efficient way to organize and manipulate information, making them a popular choice for various programming tasks. This capability is especially useful when dealing with complex data structures or when you need to pass multiple related values to a function without explicitly defining numerous individual parameters. Accessing Dictionary Values within a Function Once the dictionary is passed as an argument, you can access its values using the keys within the function. This allows you to retrieve ... Read More
![Priya Sharma](https://www.tutorialspoint.com/assets/profiles/695801/profile/60_3819587-1692171303.jpg)
655 Views
Python provides programmers with several tools and techniques to manipulate data efficiently. Two commonly used approaches for iterating over a collection and performing operations on its elements are map() and for loops. While both methods have their merits, they differ in terms of syntax, functionality, and performance. In this blog post, we will explore the characteristics of map() and for loops, and discuss their best use cases to help you make an informed decision when choosing between the two. Understanding Map map() is a built-in Python function that applies a given function to each item of an iterable (e.g., a ... Read More