Python

Python Bitwise Operators — step-by-step Python tutorial on Progressive Robot

Python Bitwise Operators

URL: https://www.progressiverobot.com/python-bitwise-operators/ Python bitwise operators are used to perform bitwise calculations on integers. The integers are converted into binary format and then operations are performed bit by bit, hence the name bitwise operators. Python bitwise operators work on integers only and the final output is returned in the decimal format. Python bitwise operators are also […]

Read more
Understanding Tuples in Python 3 — step-by-step Python tutorial on Progressive Robot

Understanding Tuples in Python 3

A tuple is a data structure that consists of an immutable ordered sequence of elements. Because tuples are immutable, their values cannot be modified. In this tutorial, we will cover some basic processes, including indexing, slicing and concatenating tuples, and the built-in functions that are available when working with these data structures.

Read more
What is Django? — step-by-step Python tutorial on Progressive Robot

What is Django?

Django is an open source Python web framework used for web development. Released in July 2005, Django is popular for its…

Read more
How to Read from stdin in Python — step-by-step Python tutorial on Progressive Robot

How to Read from stdin in Python

URL: https://www.progressiverobot.com/read-stdin-python/ There are three ways to read data from stdin in Python. sys.stdin input() built-in function fileinput.input() function 1. Using sys.stdin to read from standard input [Python sys module](/community/tutorials/python-sys-module) stdin is used by the interpreter for standard input. Internally, it calls the input() function. The input string is appended with a newline character (\n) […]

Read more
Python System Command - os.system(), subprocess.call() — step-by-step Python tutorial on Progressive Robot

Python System Command – os.system(), subprocess.call()

URL: https://www.progressiverobot.com/python-system-command-os-subprocess-call/ In this tutorial we will learn about Python System Command. Previously we learned about [Python Random Number](/community/tutorials/python-random-number). Python System Command While making a program in python, you may need to exeucte some shell commands for your program. For example, if you use Pycharm IDE, you may notice that there is option to share […]

Read more
CHAT