
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- 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 33676 Articles for Programming

330 Views
You can use Errbot (a chatbot) to start scripts interactively from your chatrooms. The most important feature of errbot is that it connects to any chat server you want it to and has a range of features. It can even connect to your slack and discord channels and interact with users. Now that you know what we are dealing with, let us get started. Getting Started It’s better to download errbot in a virtual environment rather than directly installing it. Firstly, we have to download and install the errbot library. We’ll be using the pip package manger to do this. ... Read More

7K+ Views
Numpy is a popular Python library used for numerical computing and scientific computing, providing a powerful array object for handling large and multi−dimensional arrays. However, when it comes to machine learning, deep learning, and neural networks, PyTorch is a widely used library that provides an efficient and flexible platform for building and training these models. While Numpy arrays and PyTorch tensors are similar in many ways, they have different properties and methods, which makes it necessary to convert a Numpy array to a PyTorch tensor when using PyTorch for machine learning applications. In this article, we will explore the process ... Read More

7K+ Views
Remote access to computers has become increasingly important, especially in today's work from home environment. While there are many commercial tools available for remote access, Python provides a simple yet effective way to remotely control your PC from anywhere using the Python programming language. In this article, we will explore how to control your PC from anywhere using Python. We will discuss how to establish a remote connection between two computers, how to use Python to execute commands on the remote PC, and how to transfer files between the local and remote computers. With this knowledge, you can remotely access ... Read More

8K+ Views
Python is a popular programming language used in a wide range of applications, including network programming. In this article, we will explore how to connect to a WiFi network using Python. Connecting to a WiFi network using Python can be useful in situations where you need to automate the process of joining a network, such as in a headless system or in a situation where manual intervention is not possible. Python provides several libraries that can be used to interact with WiFi networks, and we will explore some of them in this article. We will start by looking at the ... Read More

3K+ Views
In data analysis and manipulation, dealing with dates and times is a common requirement. The Pandas library in Python provides powerful tools for working with datetime values. In this article, we will explore the process of converting datetime values to date−only format in a Pandas DataFrame. When working with datetime values, it is often necessary to extract specific components, such as the year, month, day, or time, for further analysis or visualisation. However, in some cases, we may only be interested in the date portion of the datetime object, excluding the time information. Converting datetime values to date−only format can ... Read More

180 Views
The COVID−19 pandemic has disrupted daily life around the world, with numerous countries implementing lockdowns and other restrictions to control the spread of the virus. As a result, there is a great deal of interest in tracking the spread of the virus, including the number of active cases and confirmed cases. With the help of technology, it is now possible to access this data and visualize it in real−time using graphical user interfaces (GUIs). This tutorial will provide an overview of a Python program that creates a GUI for displaying COVID−19 data. Creating a Tkinter GUI to Show COVID19 Data ... Read More

261 Views
In the modern era of technology, coding has become one of the most popular practices. It is an essential skill that is highly prevalent and considered mandatory in many fields, especially those that involve software development or data analysis. At its core, coding is the process of communicating your mental logic to a computer program, allowing it to execute a specific task. With advancements in programming, it has become increasingly important to write efficient code. This means not only creating code that produces the desired outcome but also optimising it to be as fast and resource−efficient as possible. In addition ... Read More

2K+ Views
PySpark is a powerful tool for processing large datasets in a distributed computing environment. One of the fundamental tasks in data analysis is to convert data into a format that can be easily processed and analysed. In PySpark, data is typically stored in a DataFrame, which is a distributed collection of data organised into named columns. In some cases, we may want to create a PySpark DataFrame from multiple lists. This can be useful when we have data in a format that is not easily loaded from a file or database. For example, we may have data stored in Python ... Read More

2K+ Views
The Poisson distribution is a probability distribution that models the occurrence of events in a fixed time or space interval, given the average rate of occurrence. It is commonly used in fields such as physics, engineering, and economics to model the arrival of particles, failures of components, or customer arrivals. One way to visualise the Poisson distribution is to plot its probability mass function (PMF), which shows the probability of each possible number of events occurring in a given interval. In Python, we can use the SciPy library to generate the PMF of a Poisson distribution and then use Matplotlib ... Read More

14K+ Views
In data analysis, it's often necessary to count the number of unique values in a pandas Groupby object. Pandas Groupby object is a powerful tool for grouping data based on one or more columns and performing aggregate functions on each group. By counting the number of unique values in a Groupby object, we can gain insights into the diversity and distribution of the data within each group. To count unique values in a pandas Groupby object, we need to use the nunique() method. This method returns the number of unique values in each group of the Groupby object. We can ... Read More