Douglas Jewsbury's Articles
When not programming in Python, Doug fills in the time by writing articles, editing books, teaching English as a foreign language and doing translations. He relaxes by making things out of rope, including "monkey's fist" keyrings that are used in the Tower of London.
Cutting and Slicing Strings in Python
Python Strings as Sequences of Characters Python strings are sequences of individual characters, and share their basic methods of access with those other Python sequences – lists and tuples. The simplest way of extracting single characters from strings (and individual members from any sequence) is to unpack them into corresponding variables. [python] >>> s = […]
Read More