Skip to content

Binary data and text encoding

See how Python represents numbers, text, and colors as binary data.

We build you a study plan for each day. It fits your time and starts at this chapter.

Build my plan

Start free, no account needed.

Lessons

7 lessons · 26 min
  1. 1Bits, bytes, and binary numbers3 min
  2. 2Signed integers and floating-point numbers4 min
  3. 3RGB color representation3 min
  4. 4ASCII and Unicode3 min
  5. 5UTF-8 encoding in Python4 min
  6. 6Text encoding mismatches3 min
  7. 7Challenge: Binary data and text encoding6 min

What you'll learn

  • Describe binary representations of numbers and colors
  • Distinguish characters, code points, and encoded bytes
  • Encode and decode Unicode text in Python

Part of Python

Chapter 4 of 25 · Beginner

Start from this chapter

You get a plan for each day, from this chapter to the end of the course.

Build my plan

Start free, no account needed. See prices