Tag: Python

Python

Mystery of Python getrefcount() | Reference Count & Memory Management

How the memory is managed in Python? What is Python getrefcount()? How is reference count calculated? Use of reference count for Python memory management.

Python

Complete Python Selection Sort Algorithm | Code Complexity

Write the complete code for Python selection sort. Explain the algorithm with time and memory complexity.

Python

How to Read Multiline User Input in Python 2 and 3?

Simple code for reading multiline user input in Python. How to read multiple line user inputs?

data analytics

7 Best Python Libraries for Data Science Job You Should Explore

What are the best Python Libraries for Data Science and Python packages for Data Scientist jobs?

Python

[3 Methods] Check if all Elements in List are Same in Python

How to find or check if all elements in list are same or equal using Python code? Simple solution using set(), all() and count() functions.

linux

How to Install Python 3 on Linux (Ubuntu / Fedora / CentOS…)

How to install Python on Linux? Easy steps and commands to install Python on Debian / Ubuntu / Linux Mint / Fedora / CentOS Linux users.

Python

Difference Between range and xrange in Python | xrange vs range

What is the main difference between range and xrange? How has this changed over time?

cpp

5 Best Programming Language for High Paying Jobs

What are the highest paying programming languages in 2022? Most in-demand programming languages.

cpp

Calling C Functions from Python [Step by Step Procedure]

How to use ctype module for calling c functions from python? Commands for generating shared object file.