Found 10784 Articles for Python

Convert BGR and RGB with Python and OpenCV

Harshit Sachan
Updated on 20-Apr-2023 12:56:07

9K+ Views

OpenCV is a library of programming functions primarily for real-time computer vision. The library is cross-platform and licensed as free and open source software under the Apache License. It is written in C++ and has Python bindings that make it easy to use in Python applications. In this article we are going to learn how to Convert BGR and RGB with python and OpenCV. Before proceeding further first of all let us understand BGR and RGB. What are BGR and RGB RGB and BGR are both color models used to represent colors in digital images. However, the main difference between ... Read More

How to Package a Command Line Python Script

Harshit Sachan
Updated on 20-Apr-2023 12:53:02

3K+ Views

Python is a powerful programming language that has various applications in the world of software engineering and is very widely used. We can create various types of applications using Python. We can also make a CLI script in Python which can be used to automate many tasks. We can also then package the CLI scipt. For these scripts to be used by other we need to package and distribute these applications. So we must know how we can package a command line python script. This article will guide you through all the steps needed to package a python script and ... Read More

Command Line Scripts - Python Packaging

Harshit Sachan
Updated on 20-Apr-2023 12:27:10

240 Views

Python is a very popular and powerful programming language which is used to create a large number of applications with different purpose. A command line interface script or CLI script is a script that performs a specific task which is scripted, when it is executed through command line and it is used to automate so many tasks. A CLI script is very useful for developers. We can also create these CLI scripts in python. After creating a CLI script we can also package it and share it with other programmers to use. Therefore, we must know how to package ... Read More

Create a GUI to Get Sunset and Sunrise Time using Python

Tamoghna Das
Updated on 20-Apr-2023 11:38:11

340 Views

What is Python and what are its advantages? Python is a high-level programming language that is used for a wide range of applications, including web development, scientific computing, data analysis, and artificial intelligence. It has a simple and elegant syntax that makes it easy to read and write, and a large standard library that provides many useful tools and functions. Some of the advantages of Python include its readability, ease of use, flexibility, and portability. It is an open-source language, which means that it is freely available and can be modified and distributed by anyone. Python also has a large ... Read More

Create a GUI to Get Domain Information using Tkinter

Tamoghna Das
Updated on 20-Apr-2023 11:29:23

260 Views

In today's world, many businesses depend heavily on their online presence. Before setting up a website or purchasing a domain name, it is essential to get as much information as possible about the domain you plan to use. It may include information like domain owner, server location, IP address, WHOIS details, and much more. Therefore, in the following instruction manual, we'll guide you about creating a GUI to get domain information using Tkinter. What is GUI? GUI (Graphical User Interface) is a way to present data to the user in the form of interactive windows, buttons, and menus instead of ... Read More

Create a GUI to find the IP of a domain name using Python

Tamoghna Das
Updated on 20-Apr-2023 11:24:23

472 Views

When it comes to networking, IP addresses and domain names are two critical concepts that ensure seamless communication between devices on the internet. In this tutorial, we will learn how to create a Graphical User Interface (GUI) using Python that can be used to find the IP address assigned to a domain name. We will cover the following sections − Understanding IP Addresses and Domain Names Installing the Required Libraries Building the GUI Testing the Application Real World Examples Understanding IP Addresses and Domain Names Before we dive into building the application, it's important to understand what IP ... Read More

Create a GUI to Extract Lyrics from a song using Python

Tamoghna Das
Updated on 20-Apr-2023 11:19:50

748 Views

Lyrics are the words that are sung in a song that conveys the meaning and emotions of a song. Python offers several libraries to extract lyrics from a song. In this tutorial, we will create a Graphical User Interface (GUI) using Python’s tkinter library that extracts lyrics from a song. What are the different formats in which songs are available online? There are several formats in which songs are available online, depending on the platform and the type of file. Some of the most common formats are − MP3 (MPEG Audio Layer 3) − This is the most common format ... Read More

Create a GUI to convert CSV file to Excel file using Python

Tamoghna Das
Updated on 20-Apr-2023 11:14:52

922 Views

As businesses grow and expand, they need to manage a lot of information. This information may come in different formats, and being able to convert them to the right format is important for the smooth running of business operations. One of the ways to handle this is by converting CSV files to excel format. In this tutorial, we will build a Graphical User Interface (GUI) in Python to convert CSV files to excel files. What is a CSV file and what are importance of using CSV files in python A CSV (Comma Separated Values) file is a plain text file ... Read More

Create a GUI to check domain availability using Tkinter

Tamoghna Das
Updated on 20-Apr-2023 11:10:52

173 Views

What is the need for domain? The internet has become a vital part of our daily lives. When it comes to businesses, having an online presence is crucial. Choosing the right domain name is the first step in establishing an online presence for any business. However, finding an available domain name can be a daunting task. In this technical document, we will guide you through the process of creating a graphical user interface (GUI) in Python using the Tkinter module to check domain name availability. What is a domain and what are its components? In the context of the internet, ... Read More

Create a GUI for weather forecast using weatherstack API in python

Tamoghna Das
Updated on 20-Apr-2023 11:06:44

741 Views

What is the need for weather forecast? Weather forecasting is an essential aspect of human existence. In recent times, technological advancements have made it easier to predict weather with high accuracy. openweathermap is a popular API that allows developers to retrieve weather data. In this tutorial, we will create a graphical user interface (GUI) for weather forecast using openweathermap API in Python. This tutorial will cover the necessary steps for building a GUI and retrieving data from openweathermap API. Prerequisites Before we dive into the task few things should is expected to be installed onto your system − List of ... Read More

Advertisements