O'Reilly logo

Pro Python, Second Edition by Marty Alchin, J.Burton Browning

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 7

image

Strings

Given the fundamental nature of strings in all forms of programming, it should come as no surprise that Python’s string features can fill an entire chapter. Whether it’s interacting with users by way of keyboard input, sending content over the Web, analyzing the great American novel, or participating in a Turing test,1 strings can and are used for many applications.

With all this emphasis on strings, Python makes sure to include a wide variety of features to support them. Some of these features are built right into the string objects themselves, while others are provided by modules in the standard library and many third-party ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required