Found 26504 Articles for Server Side Programming

How to use Interface References in C#?

Jaisshree
Updated on 25-Apr-2023 17:26:22

811 Views

C# is an object-oriented programming language that offers a unique feature known as interfaces. They enable you to declare a collection of attributes and methods that a class must implement without mentioning the specifics of how they should be implemented. The ability to write code that is independent of a class's implementation details is one of the main benefits of interfaces. Each object of any class that implements the interface can be referred to using an interface reference. As a result, it is simpler to switch between different class implementations without having to modify the code that utilizes the class. ... Read More

LongLength property of an Array in C#

Jaisshree
Updated on 25-Apr-2023 17:23:07

567 Views

In C#, the Array class has a read-only property called LongLength. It returns a long integer value that indicates how many elements the array can accommodate. Only arrays with a rank of one or more, i.e., those that are not single-dimensional arrays, can access the LongLength property. Although the LongLength property provides a long integer value, it's crucial to remember that the maximum size of an array in C# is still constrained by the amount of memory that the system supports. If you try to build an array that is too big, an OutOfMemoryException can be raised. Syntax public long ... Read More

Creating a Camera Application using Pyqt5

Tamoghna Das
Updated on 25-Apr-2023 16:54:54

3K+ Views

PyQt5 is one of the most popular GUI libraries available for Python, and it allows developers to create desktop applications with ease. In this document, we will walk through the process of creating a camera application using PyQt5. The camera application will allow the user to take photos, view them, and even save them. What are the advantages of PyQt5? PyQt5 is a Python binding for the popular cross-platform GUI toolkit, Qt. Here are some advantages of PyQt5 − Cross-platform − PyQt5 is a cross-platform toolkit, which means that applications developed with it can run on multiple platforms like ... Read More

How to set the alignment of Check Mark in CheckBox in C#?

Jaisshree
Updated on 25-Apr-2023 17:13:02

523 Views

In a graphical user interface, a CheckBox control in C# enables users to pick a true/false or yes/no choice. The check mark in a CheckBox control is normally aligned to the left, but there are instances when you would wish to move it to the center or right. Alignment of the Check Mark in a CheckBox TextAlign Property To set the alignment of the check mark in a CheckBox control, you need to use the TextAlign property. The TextAlign property is an enumeration that allows you to set the horizontal alignment of the text and check mark within the control.Syntax  ... Read More

Creating a scrolling background in Pygame

Tamoghna Das
Updated on 25-Apr-2023 16:46:00

2K+ Views

Pygame is a popular Python library used for building games and multimedia applications. One of the most important aspects of game development is the ability to create scrolling backgrounds. In this article, we will cover the essential steps for creating a scrolling background in Pygame. We will also provide real-world examples and code snippets to help you understand the concepts better. Other libraries which can also be used for game development in python − Arcade − Arcade is a modern, easy-to-use library for creating 2D arcade-style games. It is designed to be easy to learn and use, and provides ... Read More

Create a plot with Multiple Glyphs using Python Bokeh

Tamoghna Das
Updated on 25-Apr-2023 16:43:34

322 Views

Bokeh is a powerful data visualization library in Python that helps to create interactive and unique visualizations for the web. Bokeh supports various rendering techniques and provides a wide range of built-in tools for creating complex visualizations with multiple glyphs. This document will guide you through the process of creating a plot with multiple glyphs using Bokeh. This plot combines different glyphs to display multiple data series in a single plot that provides a more efficient way to understand the relationship between different variables. What are Glyphs and what are the key advantages of these? Glyphs are graphical representations ... Read More

Creating a simple Range Slider in Bokeh

Tamoghna Das
Updated on 25-Apr-2023 16:36:08

1K+ Views

Bokeh is a powerful data visualization library in Python that helps to create interactive and unique visualizations for the web. Bokeh supports various rendering techniques and provides a wide range of built-in tools for creating complex visualizations with multiple glyphs. This document will guide you through the process of creating a plot with multiple glyphs using Bokeh. This plot combines different glyphs to display multiple data series in a single plot that provides a more efficient way to understand the relationship between different variables. What are the key benefits of range slider? Interactive − RangeSlider provides an interactive way ... Read More

Create a Pandas DataFrame from lists

Tamoghna Das
Updated on 25-Apr-2023 16:32:34

3K+ Views

A Pandas DataFrame is a two-dimensional table with rows and columns that are immutable, meaning they cannot be changed once they are created. Creating a DataFrame from scratch with lists is a common task in data science and information technology. A list is an ordered collection of elements, and it is one of the most commonly used data structures in Python. A list can store any type of values such as numbers, strings and boolean values. In this document, I will provide a detailed explanation of how to create Pandas DataFrame from lists with real-world examples using step-by-step instructions, code ... Read More

Creating a SQLite database from CSV with Python

Tamoghna Das
Updated on 25-Apr-2023 16:31:28

7K+ Views

In today's data-driven world, having efficient ways to handle data is essential, and SQLite is one of the best solutions for small-scale database systems. SQLite is a popular relational database system, that is easy to use, lightweight, and scalable. One way to store data in SQLite, is to store it in CSV format. This allows us to store structured data in flat files, which can be easily parsed with the help of Python. In this tutorial, we will learn how to create a SQLite database from CSV files, using Python. What is a SQLite Database? SQLite is a software library ... Read More

Create a GUI to extract information from VIN number Using Python

Tamoghna Das
Updated on 25-Apr-2023 14:29:11

748 Views

A Vehicle Identification Number (VIN) is a unique 17-digit code assigned to every vehicle manufactured after 1981. It contains information about the vehicle’s make, model, year of manufacture, country of origin, and other relevant details. In this instruction manual, we will learn how to create a Graphical User Interface (GUI) using Python programming language to extract vehicle information from a VIN number. Prerequisites Before we dive into the details of creating a GUI, you should have a basic understanding of Python programming, object-oriented programming (OOP) concepts, and how to work with the Tkinter module. List of recommended settings pip ... Read More

Advertisements