Found 34490 Articles for Programming

Introduction to NSE Tools Module in Python

Mayukh Sen
Updated on 03-Aug-2023 15:33:22

732 Views

We know that NSE (National Stock Exchange of India Limited) is the leading stock exchange of India. It is situated in Mumbai, Maharashtra. It was established back in 1992 as the first ever dematerialized exchange of the country. As NSE contains data which can be used for further analysis, there is a library in Python which can help with just that. The library is known as 'nsetools' library. Uses of the NSE tools Module This library can be used in various projects which requires live updates of a certain index, stock or to create even ... Read More

How to Use Enumeration to Display Elements of Hashtable in Java?

Harischandra Prasad
Updated on 03-Aug-2023 15:15:00

301 Views

A Hashtable is a powerful data structure in Java that allows programmers to store and organise data in key-value pairs. Many applications need retrieving and displaying entries from a Hashtable. In a Hashtable, any non-null object can serve as a key or a value. However, for successful storage and retrieval of items from the Hashtable, the objects used as keys must implement both the equals() method and the hashCode() method. These implementations ensure proper handling of key comparisons and hashing, enabling efficient management and retrieval of data within the Hashtable. Through the utilization of the keys() and elements() ... Read More

How to Use Different Row Methods to Get Number of Rows in Table using JDBC?

Harischandra Prasad
Updated on 03-Aug-2023 15:10:22

75 Views

The ability to interact with databases is an important requirement for many software programs in this data-driven world. Java is a versatile and robust programming language that offers Java Database Connectivity (JDBC), an effective mechanism that enables smooth interaction with different database systems. JDBC is an API that offers a standardised interface for Java applications to communicate with databases. We can perform operations like querying, inserting, updating, and deleting data using it as a bridge between the Java application and the database. This article helps us to delve into the world of Java's JDBC API, enabling us ... Read More

wxPython Module Introduction

Aayush Shukla
Updated on 03-Aug-2023 14:52:29

100 Views

A well-liked and efficient open-source Python GUI (Graphical User Interface) toolkit is wxPython. It helps programmers create native applications with a native feel and look for numerous operating systems, including Windows, macOS, and Linux. The wxWidgets C++ library provides a variety of dependable & adaptable tools for developing graphical user interfaces (GUIs), and is the foundation upon which WxPython is based. Anyone is welcome to use the module without charge since open-source software enables public access and open alteration of the original source code. With wxPython, Python may be used to create feature-rich, intuitive applications for a variety of purposes, ... Read More

Working with Date and Time using Pandas

Aayush Shukla
Updated on 03-Aug-2023 14:45:55

185 Views

A core part of Python data analysis and manipulation is working with date and time using Pandas. Powerful library Pandas provides effective methods for processing and examining time series data. It offers a DateTimeIndex, making it simple to index DataFrames and perform time-based actions on them. Users can construct DateTimeIndexes for their data by converting strings or other representations to Pandas DateTime objects, simplifying time-aware analysis. Resampling, time dilation, and date range creation are supported by the library, making it simple to combine and work with time-based data. Additionally, Pandas supports managing time zones, enabling timestamp conversion and translation for ... Read More

Working with buttons in Python Kivy with .kv file

Aayush Shukla
Updated on 03-Aug-2023 14:55:44

546 Views

Designing interactive user interfaces for Kivy apps by working with buttons in.kv files is simple and effective. Kivy, a Python framework for building cross-platform apps, uses the.kv file type to separate the visual appearance and functionality of buttons from the underlying code. The .kv file's declarative language is used to provide button properties like text, size, and event handlers, allowing developers to create straightforward, condensed, and manageable user interfaces. Without cluttering the Python code, developers may easily change the appearance and functionality of buttons by adding them straight to the.kv file. Covered Topics Python Kivy ... Read More

Finding Words Lengths in String using Python

Aayush Shukla
Updated on 03-Aug-2023 14:41:26

2K+ Views

Finding the lengths of individual words in a given input string using Python is the issue that has to be resolved. We want to count the characters in each word of a text input and display the results in a structured style, like a list. The task entails breaking down the input string and separating each word. The length of each word is then calculated based on the number of characters in it. The basic objective is to create a function or process that can receive input, determine word lengths, and promptly output the results effectively. In several applications, including ... Read More

CLAHE Histogram Equalization – OpenCV

Mukul Latiyan
Updated on 02-Aug-2023 17:45:27

2K+ Views

Histogram equalization is a technique used in image processing to enhance the contrast of an image by redistributing the pixel intensities in a way that maximizes the overall brightness and detail. The method works by adjusting the frequency distribution of the pixel values in an image, such that the resulting image has a uniform histogram. The uniform histogram ensures that each pixel in the image has an equal chance of appearing, resulting in a well−distributed image with enhanced contrast. Histogram equalization is an important tool in image processing and is commonly used in various applications, including medical imaging, remote sensing, ... Read More

Change Value in Excel Using Python

Mukul Latiyan
Updated on 02-Aug-2023 17:42:45

3K+ Views

In this article we will learn different approaches with which we can change the value of data present in an excel sheet using python. Openxypl Openpyxl is a Python library used for working with Excel spreadsheets. It is a popular choice for working with Excel files in Python because it is easy to use, has an active developer community, and provides many features for working with spreadsheets. Openpyxl allows you to create, read, write, and modify Excel files using Python. It supports the following file formats: XLSX (Microsoft Excel Open XML Spreadsheet) XLSM (Microsoft Excel Open XML Macro−Enabled ... Read More

Difference Between UTF-8 and UTF-16

Md. Sajid
Updated on 02-Aug-2023 18:48:40

2K+ Views

The encoding techniques UTF-8 and UTF-16 are both used to represent characters from the Unicode character set. They are commonly used to manage text in many scripts and languages in computer systems and programming languages. Read this article to find out more about UTF-8 and UTF-16 and how they are different from each other. What is UTF-8? UTF-8 (Unicode Transformation Format-8) is a character encoding system with varying lengths that is extensively used to represent Unicode characters. It has been developed to be ASCII (American Standard Code for Information Interchange) compatible while also supporting the whole Unicode character set. ... Read More

Advertisements