Found 27104 Articles for Server Side Programming

Get Hardware and System information using the Python Platform Module.

Asif Rahaman
Updated on 18-Jul-2023 12:51:24

402 Views

Python is a versatile language that was built as a general−purpose scripting language. Hence a lot of automation tasks, along with scripting, can be done. Getting the system information becomes an important task in many applications such as machine learning, deep learning, etc., where hardware plays a crucial role. Python provides several methods to gather information about the operating system and hardware. Getting Overall System Configuration The platform module in Python provides a way to obtain the overall system configuration in a platform−independent manner. So we can run the same methods to get the system configuration without knowing about ... Read More

List all files of certain type in a directory using Python

Siva Sai
Updated on 18-Jul-2023 18:21:52

673 Views

Python's flexible features and strong libraries make manipulating files and directories a breeze. Python has you covered for generating, updating, and retrieving data from files and folders. One such typical need is a directory listing of all files of a specific type. This tutorial will walk you through the procedure using real-world examples to demonstrate Python's proficiency with filesystem operations. Introduction to Python's Os and Glob Libraries The standard Python library has a number of modules that can manage filesystem operations. The os and glob modules are two examples of well-known modules. os module − Python's os module offers ... Read More

Get Confirmed, Recovered, Deaths cases of Corona around the globe using Python

Asif Rahaman
Updated on 18-Jul-2023 12:54:10

40 Views

The covid pandemic has impacted billions of life all over the world. The pandemic led to widespread concern among the people. Several applications were built to determine and get accurate information about the total number of deaths, recovered cases, confirmed cases, etc. Fetching and analyzing this information is important for developers when they want to make applications around the pandemic. In this article, we will understand how to get the statistical data of the COVID−19 case. Using APIs APIs(Application Programming Interfaces) are important in modern programming and software development. This enables the software applications to interact with each other. ... Read More

Linked list using dstructure library in Python

Siva Sai
Updated on 18-Jul-2023 18:20:09

48 Views

Many different libraries are available in Python that offer effective tools for managing, manipulating, and analysing data. The Dstructure library is just one of them. There are many different data structures in this package that are simple to construct. This article serves as an introduction to linked list management using the Dstructure library. We'll begin with a fundamental overview of linked lists before moving on to how to generate and work with them using the Python Dstructure package. You need to feel at ease using the Dstructure library to operate on linked lists by the time you finish reading this ... Read More

Link Prediction - Predict edges in a network using Networkx

Siva Sai
Updated on 18-Jul-2023 18:19:03

331 Views

Link prediction is a key idea in the field of network analysis. It involves foreseeing the potential for a link to establish between network nodes. A potent tool for network analysis, including link prediction tasks, is the NetworkX module for Python. This thorough tutorial will walk you through using NetworkX to anticipate links, replete with succinct and understandable examples. Introduction to Link Prediction Nodes in a network or graph represent entities, while edges or linkages between these nodes reflect their relationships. Link prediction uses the network's current topology to forecast potential links between nodes. Link prediction has various uses, such ... Read More

Linestyles in Matplotlib Python

Siva Sai
Updated on 18-Jul-2023 18:18:30

762 Views

A line's aesthetics in any line plot are influenced by the line style, also known as linestyle. The Matplotlib module for Python provides a wide range of line styles to improve the aesthetic appeal of plots. The use of line styles in Matplotlib Python is thoroughly covered in this article along with lucid and succinct examples. Understanding Line Styles in Matplotlib The pattern of the line that can be plotted is defined by line styles in Matplotlib. Solid, dashed, dash-dot, and dotted lines are some of the most popular line types. You may make your plots clearer and more informative ... Read More

linecache.getline() in Python

Siva Sai
Updated on 18-Jul-2023 14:36:59

321 Views

Learning how to handle files effectively is essential for mastering Python or any other programming language. The Python language has the linecache module as a useful tool. It is an assistance module that makes it possible to read any line from any file while taking care of the technical aspects like caching, file I/O, and error handling. The linecache.getline() function, which can be a great tool in your Python programming toolbox, will be thoroughly examined in this article. Introduction to Linecache.getline() To extract a single line of text from a file in Python, use the linecache.getline() function. The caching feature ... Read More

Linear Search Visualizer using PyQt5

Siva Sai
Updated on 18-Jul-2023 14:36:17

97 Views

Understanding data structures and algorithms is essential for any prospective programmer because they are the foundation of computer science. This knowledge can be considerably aided by visualising these ideas. This post will demonstrate how to use Python's PyQt5 to develop a linear search visualizer. To gain a deeper understanding, we will go in-depth with developing a PyQt5 application and animating the linear search method. Introduction to PyQt5 A complete set of Python bindings for Qt libraries called PyQt5 makes it possible to build complex and feature-rich GUI applications. PyQt5 is extremely adaptable and works with a variety of operating systems. ... Read More

Linear Regression using Turicreate

Siva Sai
Updated on 18-Jul-2023 14:35:01

79 Views

Any data scientist or analyst must grasp linear regression because it is the foundation of predictive modelling. There are several libraries that can be used to implement this technique in Python, each with their own merits. TuriCreate, a machine learning toolkit offered by Apple, is one such library. It is simple to use, incredibly scalable, and effective. This article takes you on a thorough tour of TuriCreate's implementation of linear regression while utilising real-world examples to aid comprehension. Introduction to Linear Regression An approach to predictive modelling is linear regression. Based on one or more independent factors, it is used ... Read More

Finding the Last business day of Every Month in a Year using Python

Asif Rahaman
Updated on 18-Jul-2023 12:21:10

855 Views

Business days are known as working day in corporate sector, in some sector it is Monday to friday and in some they are Monday to Saturday. In this article we will understand how to find the last business day of every year using Python. Python offers various libraries like datetime, time, calendar etc to deal with the time operations. We will be utilizing those libraries to program the same. Additionally some libraries like Pandas also have in−built methods to support such time operations. Using The Datetime And Calender Module The 'datetime', and 'calendar' are standard Python modules to deal ... Read More

Advertisements