Join us and get access to hundreds of tutorials and a community of expert Pythonistas.

Unlock This Lesson

This lesson is for members only. Join us and get access to hundreds of tutorials and a community of expert Pythonistas.

Unlock This Lesson

Hint: You can adjust the default video playback speed in your account settings.
Hint: You can set the default subtitles language in your account settings.
Sorry! Looks like there’s an issue with video playback 🙁 This might be due to a temporary outage or because of a configuration issue with your browser. Please see our video player troubleshooting guide to resolve the issue.

Strings and Character Data in Python: Conclusion

Give Feedback

In this course, you learned 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. You now 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 were also be introduced to two other Python objects used to represent raw byte data: the bytes and bytearray types.

Download

Course Slides (PDF)

746.1 KB

MeirG on Oct. 14, 2019

I would suggest a “Cheat-sheet” to cover all of this.

lordchuffnel on Nov. 3, 2019

bpython is very useful. it’s an easy way to see what methods are available for any item

agerbes on Jan. 17, 2020

I can only confirm that, bpython is great! I would also recommend creating a Cheat-Sheet.

I always work with the Atom Editor. Is there a way to extend the editor so that it becomes like bpython, an easy way to see what methods are available for any item.

Chris Bailey RP Team on Jan. 17, 2020

Hi @agerbes, I haven’t used Atom for awhile, I was mainly using it for HTML and CSS, so I’m not an expert. Looking around I found this in the packages section of the Atom site: autocomplete-python. It looks like the most popular python related package for Atom, and uses JEDI which is a common tool for autocomplete and code suggestions. I wonder if this might do what you are looking for?

rgusaas on March 6, 2020

Liked the course. Not seeing where bookmarks are set. Maybe they are not available with video?

Chris Bailey RP Team on March 6, 2020

Hi @rgusaas, I’m not sure which bookmarks you are referring to? For links to additional resources I’ve covered throughout the course, they are below the video lessons where I mentioned them. Many of those resources are also in the original Real Python article that this course is based on, though I have added some extras.

Ricky White RP Team on March 6, 2020

Hi @rgusaas. The bookmarks are at the top of the page for each video. I can’t embed an image to show you, but it is a bookmark icon next to where it says “Marked as complete” for this video. You can get to all your bookmarks by clicking on you profile image in the navigation and going to Bookmarks.

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.

Become a Member to join the conversation.