Mrudgandha Kulkarni has Published 151 Articles

Python Script to Logout Computer

Mrudgandha Kulkarni

Mrudgandha Kulkarni

Updated on 11-Aug-2023 16:30:54

1K+ Views

In today's digital age, automation plays a crucial role in simplifying and streamlining various tasks. One such task is logging out of a computer, which is typically done manually by selecting the logout option from the operating system's user interface. However, what if we could automate this process using a ... Read More

Python script to get device vendor name from MAC Address

Mrudgandha Kulkarni

Mrudgandha Kulkarni

Updated on 11-Aug-2023 16:29:56

1K+ Views

In the world of networking, MAC addresses play a crucial role in identifying devices connected to a network. A MAC (Media Access Control) address is a unique identifier assigned to each network interface card (NIC) or network adapter. It consists of six groups of two hexadecimal digits, separated by colons ... Read More

Python script to generate dotted text from any image

Mrudgandha Kulkarni

Mrudgandha Kulkarni

Updated on 11-Aug-2023 16:29:03

541 Views

In the digital age, manipulating images and creating artistic effects has become a common practice. One intriguing effect is the generation of dotted text from an image. This process involves converting the pixels of an image into a pattern of dots, creating an intriguing visual representation of the text. In ... Read More

Python Script to create random jokes using pyjokes

Mrudgandha Kulkarni

Mrudgandha Kulkarni

Updated on 11-Aug-2023 15:03:26

1K+ Views

Are you looking to add some humor to your Python scripts or applications? Whether you're building a chatbot, developing a command-line tool, or simply want to entertain yourself with a random joke, the pyjokes library is here to help. With pyjokes, you can effortlessly generate jokes in various categories and ... Read More

Python script that is executed every 5 minutes

Mrudgandha Kulkarni

Mrudgandha Kulkarni

Updated on 10-Aug-2023 16:57:57

12K+ Views

Automation and task scheduling play a crucial role in streamlining repetitive tasks in software development. Imagine having a Python script that needs to be executed every 5 minutes, such as fetching data from an API, performing data processing, or sending regular updates. Manually running the script at such frequent intervals ... Read More

Python requests - POST request with headers and body

Mrudgandha Kulkarni

Mrudgandha Kulkarni

Updated on 10-Aug-2023 16:56:36

13K+ Views

Python's requests library is a powerful tool for making HTTP requests in a simple and efficient manner. It provides an easy-to-use interface for sending GET, POST, and other types of requests to web servers. When it comes to making a POST request, it's often necessary to include headers and a ... Read More

Python Regex Cheat Sheet

Mrudgandha Kulkarni

Mrudgandha Kulkarni

Updated on 10-Aug-2023 16:55:15

790 Views

Regular expressions, commonly known as regex, are powerful tools for pattern matching and text manipulation in Python programming. They allow you to search, extract, and modify text based on specific patterns, making them essential for tasks such as data validation, string manipulation, and text processing. However, working with regular expressions ... Read More

Python regex - Check whether the input is Floating point number or not

Mrudgandha Kulkarni

Mrudgandha Kulkarni

Updated on 10-Aug-2023 16:53:42

2K+ Views

Floating point numbers play a crucial role in various programming tasks, from mathematical computations to data analysis. However, when working with user input or data from external sources, it becomes essential to validate whether the input is a valid floating point number or not. Python provides powerful tools to tackle ... Read More

Python Raw Strings

Mrudgandha Kulkarni

Mrudgandha Kulkarni

Updated on 10-Aug-2023 16:52:51

1K+ Views

When working with strings in Python, you might have come across situations where special characters, escape sequences, or backslashes caused unexpected behavior or required extra attention. This is where raw strings come to the rescue. Raw strings, denoted by the 'r' prefix, offer a convenient way to handle strings without ... Read More

Python Random Module

Mrudgandha Kulkarni

Mrudgandha Kulkarni

Updated on 10-Aug-2023 16:51:47

2K+ Views

In the world of programming, the ability to generate random values is often crucial. Whether you're developing games, simulations, statistical models, or simply need to introduce variability into your programs, having a reliable and efficient way to generate random numbers is essential. This is where the Python Random module comes ... Read More

Advertisements