Found 27104 Articles for Server Side Programming

Changing the colour of Tkinter Menu Bar

Prince Yadav
Updated on 19-Jul-2023 13:46:59

2K+ Views

Python, a versatile and powerful programming language, has gained immense popularity for its ease of use and extensive libraries. One such library is Tkinter, which provides a simple and intuitive way to create graphical user interfaces (GUIs) in Python. Tkinter offers a range of built−in widgets and features, allowing developers to design interactive applications that enhance user experience In this tutorial, we will explore various methods to customize the color of the Tkinter menu bar. The menu bar, located at the top of the application window, provides a convenient way to access different functionalities and options. By default, Tkinter menu ... Read More

Building Web Applications with Flask: A Comprehensive Guide

Prince Yadav
Updated on 19-Jul-2023 13:25:31

156 Views

Web applications have become an essential part of our digital landscape, revolutionizing the way we interact and conduct business online. Flask, a lightweight web framework written in Python, offers developers a powerful tool to create dynamic and scalable web applications with ease. This comprehensive guide will take you on a journey to master the art of building web applications with Flask. Whether you're a beginner taking your first steps in web development or an experienced developer looking to expand your skills, this guide will provide you with a solid foundation. Throughout the guide, we will cover the basics of Flask, ... Read More

Building Smart Contracts and Decentralized Applications using Python

Prince Yadav
Updated on 19-Jul-2023 13:28:09

757 Views

In this tutorial, we will explore the process of building smart contracts and decentralized applications (DApps) using Python. Smart contracts are self−executing contracts with predefined rules and conditions that automatically execute when the conditions are met. DApps, on the other hand, are applications that run on a decentralized network, utilizing smart contracts for their functionality. In this article, we will cover the technologies and tools required for developing smart contracts and DApps in Python. We will then proceed with step−by−step instructions, accompanied by code snippets and their explanations, to demonstrate how to create and interact with smart contracts, as well ... Read More

Building Microservices with Python and Flask

Prince Yadav
Updated on 19-Jul-2023 12:52:26

3K+ Views

Python is a versatile and powerful programming language, while Flask is a lightweight web framework that allows us to create web applications quickly. Together, they form a robust combination for developing microservices. In this article, we will guide you through the process of building microservices step by step, providing code snippets and explanations along the way. In this tutorial, we will start by introducing the concept of microservices and their benefits. Then, we will set up a development environment and create a simple Flask application. After that, we will dive into the process of splitting the application into microservices, each ... Read More

Build a Bulk File Rename Tool With Python and PyQt

Prince Yadav
Updated on 19-Jul-2023 12:48:37

127 Views

Multiple file renaming can be a laborious and time−consuming process. However, we can create a Bulk File Rename Tool that automates and simplifies the process with the aid of Python and PyQt. This article will explore the step−by−step process of creating a Bulk File Rename Tool using Python and PyQt. By leveraging the power of Python's file−handling capabilities and the user−friendly PyQt framework, we can develop a tool that allows us to rename multiple files quickly and efficiently. Throughout the article, we will guide you through the development environment setup, the file renaming logic implementation, and the creation of an ... Read More

Advanced Python Decorators: A Powerful Tool for Code Modularity

Prince Yadav
Updated on 19-Jul-2023 12:47:05

124 Views

Python decorators are a fundamental aspect of the language's functionality, offering developers a powerful tool for enhancing code modularity. Decorators allow for the modification or extension of functions, methods, or classes without altering their original source code. By separating concerns and adding functionality dynamically, decorators enable more efficient and maintainable software development. In this article, we will explore the concept of decorators, delve into advanced techniques, and showcase their versatility and usefulness in achieving code modularity. Understanding Python Decorators Functions can be passed as arguments to other functions, assigned to variables, and returned as values in Python because they are ... Read More

Adaline and Madaline Network

Prince Yadav
Updated on 19-Jul-2023 12:26:58

3K+ Views

Neural networks have gained immense popularity in artificial intelligence and machine learning due to their ability to handle complex problems. Within this realm, Adaline (Adaptive Linear Neuron) and Madaline (Multiple Adaptive Linear Neuron) have emerged as pivotal players in pattern recognition and classification. These networks, originating in the mid−20th century, have laid the foundation for the remarkable advancements in AI today. This article explores the fundamental concepts, intricate architectures, and efficient learning algorithms that form the basis of Adaline and Madaline networks. By delving into their inner workings, readers can comprehensively understand these networks and discover their potential applications. ... Read More

How to Check a String Starts/Ends with a Specific String in jQuery?

Ayushya Saxena
Updated on 19-Jul-2023 14:49:09

455 Views

JavaScript relationships with the HTML/CSS file, particularly with the Document Object Model (DOM), are made easier through an open-source library called "jQuery". Its traversal and manipulation of HTML files, the control of browser events, the production of DOM visuals, the facilitation of Ajax connections, and cross-platform JavaScript programming are all made easier by this package. To verify whether a particular string constitutes a substring of another string, JavaScript provides a variety of string functions. Consequently, jQuery is dispensable to accomplish this task. Nonetheless, we shall expound on the various approaches to verify if a string commences or terminates ... Read More

Python - Group Tuples by Kth Index Element

Rohan Singh
Updated on 19-Jul-2023 10:50:38

119 Views

In Python, we can group tuples by kth index element using several methods like using a dictionary, leveraging the groupby() function from itertools, and utilizing the defaultdict from the collection module. Grouping tuples by the kth index is useful when analyzing data and data manipulation. In this article, we will explore different methods to group tuples by their kth index element, using various techniques, and demonstrate their implementation. Method 1: Using a Dictionary One straightforward approach to group tuples is by using a dictionary. The idea is to iterate through the list of tuples and use the kth index element ... Read More

Python - Group single item dictionaries into List values

Rohan Singh
Updated on 19-Jul-2023 10:49:15

67 Views

Grouping single−item dictionaries into list values can be useful for data aggregation or reformatting. In Python, we can perform this task using various methods like using a loop, using a list comprehension, using the map() function, and using the operator.itemgetter() function. In this article, we will explore different methods to group single−item dictionaries into list values. Method 1: Using a Loop A straightforward approach is to iterate through the single−item dictionaries and append their values to a list. Let’s implement this loop with the help of an example. Syntax list_name.append(element) Here, the append() function is a list method used ... Read More

Advertisements