In Python, strings are used to represent text and bytes are used to represent binary data. If you end up with bytes that representing text, you can decode them to get a string instead.| www.pythonmorsels.com
Python's strings have dozens of methods, but some are much more useful than others. Let's discuss the dozen-ish must-know string methods and why the other methods aren't so essential.| www.pythonmorsels.com