
encoding vs decoding
chr() and ord()
join(), split(), replace()
regular expression a.k.a regex
for, while, break, continue loop statements
encoding : convert strings to bytes
decoding : convert bytes to strings
There are variety of UTF such as UTF-8, UTF-16 and so on. UTF-8 is the most commonly used because of its conveniences.
Unicode HOWTO
Encoding and decoding can be easily done by using str.encode() and str.decode(). If you don't set which UTF you will use, it will automatically use UTF-8 as Python often defaults to using it.
chr() and ord()chr(): used for converting an Integer to a Character
ord(): used to do the reverse, i.e, convert a Character to an Integer.
join(), split(), replace()join():
split():
replace():
pattern