Strings and Character Data in Python
Christopher 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
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
5. String Formatting 10:52
About Christopher 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 Christopher



Cory on April 25, 2020
I canβt lie when I started this course I thought to myself βthis is going to be so boringβ. After just a few lessons in I finally realized how important and how useful this tutorial is. Thank you for the multiple examples and clear explanations.