Appendix E. Python Language Reference

This appendix lists various functions and variables available for CGI programming in Python. Their syntax and general use are shown, and short examples are included, where necessary, for clarity. Although care has been taken to include those functions most likely to be used in CGI programming, Python is evolving, so older code might include deprecated functions that aren't listed here. Because Python is highly modularized, the functions and variables are grouped by the module to which they belong. In most cases, the module must be imported before the functions listed become available.

Get Web Standards Programmer's Reference: HTML, CSS, JavaScript®, Perl, Python®, and PHP now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.