Encoding and Decoding Python Strings Series
A 2-part tutorial series on encoding and decoding strings in Python 2.x and Python 3.x.
The list is a data structure that is used to store multiple values linearly. However, there exist two-dimensional data. A multi-dimensional data structure is needed to keep such type of data. In Python, a two-dimensional list is an important data structure. It is essential to learn the working of Python 1D list efficiently to work […]Read More
Prerequisites Knowledge of the following is required: Python 3 Basic HTML Urllib2 (not mandatory but recommended) Basic OOP concepts Python data structures – Lists, Tuples Why parse HTML? Python is one of the languages that is extensively used to scrape data from web pages. This is a very easy way to gather information. For instance, […]Read More
Prerequisites Knowledge of the following is required: Python 3 Basic Python data structures like dictionary File operations in Python Introduction Literally, the term pickle means storing something in a saline solution. Only here, instead of vegetables its objects. Not everything in life can be seen as 0s and 1s (gosh! philosophy), but pickling helps us […]Read More
In our other article, Encoding and Decoding Strings (in Python 2.x), we looked at how Python 2.x works with string encoding. Here we will look at encoding and decoding strings in Python 3.x, and how it is different. Encoding/decoding strings in Python 3.x vs Python 2.x Many things in Python 2.x did not change very […]Read More
Strings are among the most commonly used data types in Python, and there might be times when you want to (or have to) work with strings containing or entirely made up of characters outside of the standard ASCII set (e.g. characters with accents or other markings). Python 2.x provides a data type called a Unicode […]Read More