background preloader

Text Processing in Python (a book)

Text Processing in Python (a book)
A couple of you make donations each month (out of about a thousand of you reading the text each week). Tragedy of the commons and all that... but if some more of you would donate a few bucks, that would be great support of the author. In a community spirit (and with permission of my publisher), I am making my book available to the Python community. Minor corrections can be made to later printings, and at the least errata noted on this website. A few caveats: (1) This stuff is copyrighted by AW (except the code samples which are released to the public domain).

Planet Python (the eff-bot guide to) The Standard Python Library Overviews (15) Core Modules [core-modules-index]Data Representation [data-representation-index]Data Storage [data-storage-index]File Formats [file-formats-index]Implementation Support Modules [implementation-support-modules-index]Internationalization [internationalization-index]Mail and News Message Processing [mail-and-news-message-processing-index]More Standard Modules [more-standard-modules-index]Multimedia Modules [multimedia-modules-index]Network Protocols [network-protocols-index]Other Modules [other-modules-index]Platform Specific Modules [platform-specific-modules-index]Preface [preface-index]Threads and Processes [threads-and-processes-index]Tools and Utilities [tools-and-utilities-index] Articles (249) The aifc module [aifc]The anydbm module [anydbm]The array module [array]The asynchat module [asynchat]The asyncore module [asyncore]The atexit module [atexit]The audiodev module [audiodev] The keyword module [keyword]The knee module [knee]

Practical Common Lisp This page, and the pages it links to, contain text of the Common Lisp book Practical Common Lisp published by Apress These pages now contain the final text as it appears in the book. If you find errors in these pages, please send email to book@gigamonkeys.com. These pages will remain online in perpetuity—I hope they will serve as a useful introduction to Common Lisp for folks who are curious about Lisp but maybe not yet curious enough to shell out big bucks for a dead-tree book and a good Common Lisp tutorial for folks who want to get down to real coding right away. However, don't let that stop you from buying the printed version available from Apress at your favorite local or online bookseller. For the complete bookstore browsing experience, you can read the letter to the reader that appears on the back cover of the treeware edition of the book. Amazon | Powells | Barnes & Noble Download source code: tar.gz | zip Like what you've read?

matplotlib Portal:Python programming From Wikipedia, the free encyclopedia Selected article The IPython interactive shell running in gnome-terminal on Ubuntu 11.04, showcasing the introspection and system shell command features. A number of popular articles in the computer press have discussed the advantages of IPython, and it is a component of the SciPy package. It lends itself well to rapid-prototyping and can often be seen in conjunction with Matplotlib for scientific and engineering work. IPython can also be used as a system shell replacement, especially on Windows which has a minimally capable shell. read more Selected biography Van Rossum was born and grew up in the Netherlands, where he received a masters degree from the University of Amsterdam in 1982. read more Categories Quotes Quotations related to Python at Wikiquote Purge server cache

PyDSTool PyDSTool is a sophisticated & integrated simulation and analysis environment for dynamical systems models of physical systems (ODEs, DAEs, maps, and hybrid systems). PyDSTool is platform independent, written primarily in Python with some underlying C and Fortran legacy code for fast solving. It makes extensive use of the numpy and scipy libraries. PyDSTool supports symbolic math, optimization, phase plane analysis, continuation and bifurcation analysis, data analysis, and other tools for modeling -- particularly for biological applications. The project is fully open source with a BSD license, and welcomes contributions from the community. These documentation pages are still under development. If you use PyDSTool in your published work, please cite it in the following way: Clewley RH, Sherwood WE, LaMar MD, Guckenheimer JM (2007) PyDSTool, a software environment for dynamical systems modeling. Screenshot:

The History of Python Python Programming Language – Official Website An Introduction to Python - Fancier Output Formatting So far we've encountered two ways of writing values: expression statements and the print statement. (A third way is using the write() method of file objects; the standard output file can be referenced as sys.stdout. See the Python Library Reference Manual for more information on this.) Often you'll want more control over the formatting of your output than simply printing space-separated values. One question remains, of course: how do you convert values to strings? The str() function is meant to return representations of values which are fairly human-readable, while repr() is meant to generate representations which can be read by the interpreter (or will force a SyntaxError if there is not equivalent syntax). Some examples: Here are two ways to write a table of squares and cubes: (Note that one space between each column was added by the way print works: it always adds spaces between its arguments.) There is another method, zfill(), which pads a numeric string on the left with zeros.

Related: