If you work with strings in your Python scripts and you're writing obscure logic to process them, then you need to look into regex in Python. It lets you describe patterns instead of writing ...
Joshua Hammer is a contributing writer to Smithsonian magazine and the author of several books, including The Bad-Ass Librarians of Timbuktu: And Their Race to Save the World's Most Precious ...