Rohan Singh has Published 171 Articles

Access files of a devices in the same network using Python

Rohan Singh

Rohan Singh

Updated on 17-Apr-2023 09:37:17

2K+ Views

If multiple devices are connected over the same network i.e LAN or wifi then Python provides a way to access the files of the devices sharing the same network. Python built-in http.server module allows us to easily access the files of the devices connected over the same network. Http.server is ... Read More

Access environment variable values in Python

Rohan Singh

Rohan Singh

Updated on 17-Apr-2023 09:33:06

8K+ Views

Environment variables in Python are configuration values stored outside the code and are used at runtime by the application. These variables are present in the form of key-value pairs just like dictionaries in Python. These variables can be set, updated, or removed from the configuration file without changing the application ... Read More

A simple News app with Tkinter and Newsapi

Rohan Singh

Rohan Singh

Updated on 17-Apr-2023 09:30:27

531 Views

Tkinter is a Python library that is used to make desktop applications for Windows and UNIX-based Operating systems. Tkinter gives many choices to make a widget for the application. The same widget can be made in different ways using Tkinter. Today there are vast sources of information available on the ... Read More

8-bit game using pygame

Rohan Singh

Rohan Singh

Updated on 17-Apr-2023 09:27:06

914 Views

Pygame is an open-source Python library used for making games. Pygame library provides various functions and tools for creating games, sound processing, and graphics.pygame library can be used to create games on any operating system like Windows, Linux, and macOS as pygame is a cross-platform library. What is an 8-bit ... Read More

8 Tips For Object-Oriented Programming in Python

Rohan Singh

Rohan Singh

Updated on 17-Apr-2023 09:22:44

741 Views

Object-oriented programming language is a programming paradigm that is widely used in software design as it makes the code reusable and reduces code redundancy. It uses classes and objects to implement real-world objects in programming. Python and other languages like C++, java, javascript, etc support object-oriented programming. In this article, ... Read More

Access Modifiers in Python : Public, Private and Protected

Rohan Singh

Rohan Singh

Updated on 13-Apr-2023 16:09:50

15K+ Views

Access modifiers are used by object oriented programming languages like C++, java, python etc. to restrict the access of the class member variable and methods from outside the class. Encapsulation is an OOPs principle which protects the internal data of the class using Access modifiers like Public, Private and Protected. ... Read More

Accessor and Mutator Methods in Python

Rohan Singh

Rohan Singh

Updated on 13-Apr-2023 12:05:38

3K+ Views

Accessor and mutator methods in Python are used to access the private data of a class which cannot be accessed from outside the class. In object oriented programming the class object data is encapsulated i.e the object data is kept private and cannot be accessed from outside the object. ... Read More

Accessing Data Along Multiple Dimensions Arrays in Python Numpy

Rohan Singh

Rohan Singh

Updated on 13-Apr-2023 12:04:40

365 Views

Numpy is a python library used for scientific and mathematical computations. Numpy provides functionality to work with one dimensional arrays and multidimensional arrays. Multidimensional arrays consist of multiple rows and columns. Numpy provides multiple built in functions to interact with multidimensional arrays. In this article we will explore how to ... Read More

Access Index of Last Element in pandas DataFrame in Python

Rohan Singh

Rohan Singh

Updated on 13-Apr-2023 11:26:49

9K+ Views

To access the index of the last element in the pandas dataframe we can use the index attribute or the tail() method. Pandas is a Python library used for data manipulation and analysis. Data frame is a data structure provided by pandas which is used to work with ... Read More

7 Useful String Function in Python

Rohan Singh

Rohan Singh

Updated on 13-Apr-2023 10:46:32

375 Views

String is a data type in python which is widely used for data manipulation and analysis in machine learning and data analytics. Python is used in almost every technological development like web development, app development, desktop app development, game development, machine learning, artificial intelligence and data analysis etc. Python provides ... Read More

Advertisements