O'Reilly logo

Designing Active Server Pages by Scott Mitchell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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!

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required