PythonPython Basic Tutorial

File handling in Python

In Python, file handling requires no extra library to process files. Both text files and binary files can be operated in python. Unlike other programming languages file handling in python is pretty easy and can be implemented with minimum lines of code. One thing worth…
ProgrammingPythonPython Basic Tutorial

Python Dictionary

Python Dictionary is one of the most used data structure in Python. It is similar to hash tables, associative memories or associative arrays in other programming languages. Python Dict is an unordered collection of zero or more key-value pairs whose keys are object references that…
ProgrammingPythonPython Basic Tutorial

Bitwise Operators in Python

Bitwise operators are used for performing operations on operations on Binary pattern or Bit sequences. Python has 6 bitwise operators: AND, OR, XOR, Complement and Shift Operators. They normally operate on numbers but instead of treating them as numbers they are treated as string of…
ProgrammingPythonPython Basic Tutorial

Python Escape Sequence List and Uses

Description Escape sequences are the sequence of characters that is translated into other characters or a sequence of characters that are difficult to represent directly. All the escape sequences contain more than one character. They all start with a backslash ‘\’ also called Escape Character.  Escape sequences…