Server Side Programming Articles

Page 117 of 2109

Download Anything to Google Drive using Google Colab

Rohan Singh
Rohan Singh
Updated on 27-Mar-2026 3K+ Views

Google Colab is a free cloud platform provided by Google that offers CPU, GPU, and other infrastructure to run complex computations and data analysis. Google Colab provides a Jupyter notebook environment to run Python code. We can download files directly to Google Drive using Google Colab by mounting our Google Drive in the Colab environment. In this article, we will learn how to download files to Google Drive using Google Colab. Step 1: Setting up Google Colab If you have a Google account, you can open the Google Colab website and click on "New Notebook" to create a ...

Read More

Download and install pip Latest Version

Rohan Singh
Rohan Singh
Updated on 27-Mar-2026 6K+ Views

Pip is a Python package manager that allows you to easily install, manage and uninstall Python packages. To download and install pip latest version you can do it by downloading the script from the official Python website or by using some commands in your local Command prompt. In this article, we will see the steps to download and install Pip's latest version in Python. Steps to Download and Install Pip Step 1: Check if pip is already installed Pip might be already installed in your system. You can check if pip is already installed in your system ...

Read More

Dora module in Python

Rohan Singh
Rohan Singh
Updated on 27-Mar-2026 734 Views

The Dora module is a Python library designed for data analysis and manipulation. Built on top of the pandas library, it provides comprehensive functionality to streamline data science workflows with an intuitive API. Installation of Dora Module The Dora module can be installed using pip. Run the following command in your terminal ? pip install dora Key Features of Dora Module The Dora module offers several powerful features for data science tasks ? Data Cleaning − Provides methods for removing duplicates, handling missing values, and data type conversions to prepare clean ...

Read More

Donut Chart using Matplotlib in Python

Rohan Singh
Rohan Singh
Updated on 27-Mar-2026 3K+ Views

A Donut chart is a circular chart that shows the relative representation of data with a hole in the center, distinguishing it from a pie chart. Python's Matplotlib library provides simple methods to create customizable donut charts for visualizing categorical data proportions. Installing Matplotlib Matplotlib is a data visualization library in Python that allows you to create a wide range of charts. To install it, use the following command ? pip install matplotlib Basic Donut Chart A donut chart is created using plt.pie() with the wedgeprops parameter to define the inner hole. Here's ...

Read More

Donut Chart in Pygal

Rohan Singh
Rohan Singh
Updated on 27-Mar-2026 235 Views

Pygal is a Python library used for creating interactive graphs and charts for data visualization. A donut chart is a variation of a pie chart with a hollow center, making it easier to read values and add additional information in the middle space. Installing Pygal Before creating donut charts, install the Pygal library using pip ? pip install pygal Basic Donut Chart Create a simple donut chart using pygal.Pie() with the inner_radius parameter ? import pygal # Create a Donut chart donut_chart = pygal.Pie(inner_radius=0.4) # Add data to the ...

Read More

Docopt module in Python

Rohan Singh
Rohan Singh
Updated on 27-Mar-2026 1K+ Views

The Docopt module in Python is used to create command-line interfaces. Similar to other command line arguments and options, docopt allows us to define command line arguments and options and also generate help messages and usage strings for the program. In this article, we will understand how the Docopt module is defined and how it is used to create a command line interface. Installation You can install the Docopt module before using it with the help of the pip command in Python. To install the Docopt module type the following command on your terminal or command prompt ? ...

Read More

dllist class of llist module in Python

Rohan Singh
Rohan Singh
Updated on 27-Mar-2026 275 Views

The dllist is a class of the llist module in Python that is used to implement a doubly linked list with functionality for insertion, deletion, and traversal of elements. The dllist class provides methods for adding, removing, and iterating over the list in both directions. Creating a dllist Object To create a dllist object, we need to first import the llist module from the pyllist package. We can then use the dllist class constructor to create a new instance of a doubly-linked list ? from pyllist import dllist # create an empty doubly-linked list my_list ...

Read More

Adam Optimizer in Tensorflow

Rohan Singh
Rohan Singh
Updated on 27-Mar-2026 2K+ Views

The Adam optimizer in TensorFlow is an advanced optimization algorithm widely used in deep learning models. It stands for Adaptive Moment Estimation and combines the advantages of both RMSprop and AdaGrad algorithms. Adam adaptively adjusts learning rates for each parameter using first and second-order moments of gradients, making it highly effective for training neural networks. How Adam Optimizer Works Adam optimizer uses an iterative approach that maintains two moving averages: First moment (m_t): Exponentially decaying average of past gradients (momentum) Second moment (v_t): Exponentially decaying average of past squared gradients (adaptive learning rate) Algorithm ...

Read More

Accessing Web Resources using Factory Method Design Pattern in Python

Rohan Singh
Rohan Singh
Updated on 27-Mar-2026 252 Views

The Factory Method Design Pattern is a creational pattern that provides an interface for creating objects in a superclass but allows subclasses to alter the type of objects that will be created. This pattern helps define a generic interface for creating objects while allowing subclasses to decide which class to instantiate. In this article, we will explore how to use the Factory Method Design Pattern to access web resources in Python. Why Use Factory Method for Web Resources? Python provides several libraries for accessing web resources such as requests and urllib. These libraries allow us to send HTTP ...

Read More

Python Program to remove the last specified character from the string

Tapas Kumar Ghosh
Tapas Kumar Ghosh
Updated on 27-Mar-2026 1K+ Views

Removing the last specified character from a string is a common text manipulation task in Python. This operation is useful for data cleaning, input validation, and string formatting. Python provides several approaches including slicing, rstrip(), and string replacement methods. Method 1: Using String Slicing String slicing with [:-1] removes the last character by excluding it from the slice ? text = "Tutorialspoints" result = text[:-1] print("Original string:", text) print("After removing last character:", result) Original string: Tutorialspoints After removing last character: Tutorialspoint Method 2: Using rstrip() for Specific Character The rstrip() ...

Read More
Showing 1161–1170 of 21,090 articles
« Prev 1 115 116 117 118 119 2109 Next »
Advertisements