

Checking Whether a String Is Text or Binary

Filtering a String for a Set of Characters Simplifying Usage of Strings’ translate Method Checking Whether a String Contains a Set of Characters Reversing a String by Words or Characters Converting Between Characters and Numeric Codes Processing a String One Character at a Time This revised version also includes new chapters on topics such as time, money, and metaprogramming.Here's a list of additional topics covered:Īnother advantage of The Python Cookbook, 2nd Edition is its trio of authors-three well-known Python programming experts, who are highly visible on email lists and in newsgroups, and speak often at Python conferences.With scores of practical examples and pertinent background information, The Python Cookbook, 2nd Edition is the one source you need if you're looking to build efficient, flexible, scalable, and well-integrated systems. Like its predecessor, the new edition provides solutions to problems that Python programmers face everyday.It now includes over 200 recipes that range from simple tasks, such as working with dictionaries and list comprehensions, to complex tasks, such as monitoring a network and building a templating system. It is now being used by an increasing number of major organizations, including NASA and Google.Updated for Python 2.4, The Python Cookbook, 2nd Edition offers a wealth of useful code for all Python programmers, not just advanced practitioners. Portable, powerful, and a breeze to use, Python is the popular open source object-oriented programming language used for both standalone programs and scripting applications.
