Creating ASP Pages with Python
Python is an object-oriented scripting language that incorporates the best features from an array of languages, such as Java, C/C++, Perl, and awk. If you’re not familiar with object-oriented programming, you may find the Python syntax a bit daunting. Python is the only scripting language discussed in this chapter that requires you to write object-oriented code! PerlScript and VBScript have object-oriented capabilities, but do not require that you use such techniques.
To use Python in your ASP pages, you need to download the latest Python ActiveX scripting engine. You can download this for free from http://www.python.org/download/. Be sure to download and install both the Python interpreter and the Win32 COM extensions. Also, you have to register the Python ActiveX scripting engine on the web server before you can use it. Consult the online Python documentation for more information.
To learn more about Python, be sure to visit http://www.python.org. Extensive documentation exists at http://www.python.org/doc/. Finding good references on using Python with ASP is far from easy. There are a couple of short articles available at http://Python.org, but those articles are targeted for experienced Python developers interested in learning ASP as opposed to experienced ASP developers interested in learning Python!
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access