Found 27154 Articles for Server Side Programming

Notebook in Python GTK+ 3

Nikitasha Shrivastava
Updated on 16-Oct-2023 13:09:18

99 Views

In this article we will be creating the multi tabbed Notebook Graphical user interface with the help of Python GTK + 3. So we will be creating a window which will look like a notebook. Understanding the Problem The problem at hand is to create a notebook using Python GTK + 3. If the GTK + 3 package is not installed on your system then we can install this package with the help of command ‘pip install pygobject’ or using ‘MSYS2’ packages in windows. So we will create a window and inside the window there will be two tabs or ... Read More

Moving an object in PyGame

Nikitasha Shrivastava
Updated on 16-Oct-2023 13:08:29

502 Views

The given problem is to develop a program for moving an object with the help of PyGame, which is a set of Python modules to develop video games. Understanding the problem and its Logic So in this article we will create an algorithm and program to move an object from one place to another place using the PyGame module of Python. And we will import the necessary modules for PyGame and initialize the PyGame. After that we need to create a game window and set its dimensions. Then we will set the object’s dimensions, size, color and position. And we ... Read More

Move() function in wxPython

Nikitasha Shrivastava
Updated on 16-Oct-2023 13:05:22

46 Views

In this article, we are required to perform the move operation using the move function which is a built-in function in wxPython. And ‘wxPython’ is basically a GUI library of Python. What is wxPython? As we know that Python provides many libraries for developers to improve the code and minimize the time to develop an application so wxPython is also one of them. The wxPython is a toolkit for developing a graphical user interface (GUI) in python. With the help of this library the developers can create GUIs with a native look and feel. And the application can be performed ... Read More

Introduction to Vaex in Python

Harischandra Prasad
Updated on 16-Oct-2023 12:41:18

122 Views

In the realm of data science, one of the important aspects that we need to consider is handling large datasets. Handling such vast volumes of data is really a challenge when it comes to memory management and Speed of execution. Vaex is a Python library that is designed specifically to solve such problems. It is particularly useful for Out-of-Core Data Frames that are lazy (like Pandas) because calculations are only performed when it is necessary. It offers good solutions in terms of Big data analysis, manipulation, and visualisation. We will explore the idea of Vaex, its features, and how to ... Read More

Move Files to Creation and Modification Date Named Directories using Python

Nikitasha Shrivastava
Updated on 16-Oct-2023 12:04:47

110 Views

In this problem statement we have to move all the files in the folder with the name of creation and modification date directory with the help of Python. In this task we will use some predefined libraries of Python for smooth processing of relocating the files. Understanding the Problem As we have seen, managing the files as per the date or modification and creation time. So here in this article we will simplify this task by creating the Python script to move the files as per the creation and modification dates by giving the folder name as the modification or ... Read More

Move all the files from subfolders to the main folder using Python

Nikitasha Shrivastava
Updated on 16-Oct-2023 12:04:10

557 Views

The given problem statement is to relocate all the files from the subfolders to the main folder using Python. So we will use the OS and Shutil libraries of Python to do this task. Understanding the Logic for the Problem In this task, we are required to move all the files that exist in the subfolder in the main folder using Python programming language. So for doing this process we will specify the source folder path and destination or main folder path. And we will be using python’s os and shutil libraries for doing this task. So first we will ... Read More

motion_blur() in Python Wand

Nikitasha Shrivastava
Updated on 16-Oct-2023 12:03:21

25 Views

In the given problem statement we have to apply a motion_blur function for an image using the Python wand library. Sometimes we are needed to perform the blur operation on some images. So using the Python wand we can do this task easily and blur the image to any extent. What is Python Wand? The wand is a tool, which is used to convert the format of images. It can convert the image from one format to another. This library provides a wide range of functions to perform different kinds of operations of the image for manipulating them. To install ... Read More

Modify Equal Tuple Rows in Python

Nikitasha Shrivastava
Updated on 16-Oct-2023 12:01:43

29 Views

In this article we will learn how to modify equal tuple rows with the help of Python programming. Whenever we talk about data, sometimes we need to modify that data also. So here we will modify equal tuple rows data as per the equality of the records. Understanding the Problem The problem at hand is to modify the given tuple for equal rows using python. So we will be having a list of tuples and our task is to modify as per the condition for the particular tuple row in the given list. Let's see the usage of the following ... Read More

How to move and overwrite files and folders using Python?

Nikitasha Shrivastava
Updated on 16-Oct-2023 12:01:03

1K+ Views

The files are very important documents in our systems. In files we store our important data and moving these files is also an important task to organize the system. So we will learn how to move and also overwrite the files and folders using Python modules. Understanding the Logic for the Problem The problem at hand is that we have to create a code for moving and overwriting the files and folders in Python. For solving this problem we will import os and shutil libraries of Python. So with the help of these libraries we can move and overwrite the ... Read More

Finding the Summation of Nested Record Values in Python

Nikitasha Shrivastava
Updated on 16-Oct-2023 11:58:04

34 Views

The problem statement requires finding the summation of nested record values using Python. Sometimes we are required to add the values present in the data so that time this approach can be useful as record is the powerful dataset in terms of updating or manipulating the data using the keys. Understanding the Problem The given problem is to find the addition of values in the given record so here we will be using the nested dictionary as a record. And we will implement the code using Python. And the nested dictionaries are the dictionary inside the dictionary. And we have ... Read More

Advertisements