7

Encoding and Decoding Python Strings Series

 3 years ago
source link: https://www.pythoncentral.io/series/python-encoding-decoding-strings/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

A 2-part tutorial series on encoding and decoding strings in Python 2.x and Python 3.x.

HTML Parser: How to scrape HTML content

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

How to Pickle: A Pickling and Unpickling Tutorial

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

Encoding and Decoding Strings (in Python 3.x)

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

Python Unicode: Encode and Decode Strings (in Python 2.x)

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

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK