Strings and Character Data in Python
Chris Bailey
19 Lessons
1h 48m
basics
python
In this course, youβll learn about working with strings, which are objects that contain sequences of character data. Processing character data is integral to programming. It is a rare application that doesnβt need to manipulate strings to at least some extent.
Python provides a rich set of operators, functions, and methods for working with strings. When youβre finished this course, youβll know how to:
- Use operators with strings
- Access and extract portions of strings
- Use built-in Python functions with characters and strings
- Use methods to manipulate and modify string data
Youβll also be introduced to two other Python objects used to represent raw byte data: the bytes and bytearray types.
Take the Quiz: Test your knowledge with our interactive βPython Strings and Character Dataβ quiz. Upon completion you will receive a score so you can track your learning progress over time:
String Manipulation
7 Lessons 32m
2. String Operators (05:21)
3. Built-In String Functions (05:25)
4. String Indexing (03:24)
5. String Slicing (08:34)
7. Modifying Strings (01:59)
Built-In String Methods
6 Lessons 50m
2. Case Conversion (04:35)
3. Find and Seek (09:12)
4. Character Classification (11:37)
5. String Formatting (10:52)
bytes Objects
6 Lessons 26m
1. bytes Objects: Overview (01:04)
4. Operations on bytes Objects (08:08)
5. bytearray Objects (03:19)
About Chris Bailey
Chris is an avid Pythonista and creates video tutorials for Real Python. He is a programmer and data analyst. He creates music under the name Tripnet. Chris lives in Colorado with his wife and two dogs.
Β» More about Chris


