Wrox Programmer Forums
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old May 28th, 2008, 03:53 AM
Registered User
Join Date: May 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Using Python as scripting language for ASP

Hi Friends,

Please help me in registering Python as scripting language for ASP.

I tried running pyscript_rexec.py.

But it is not working.

Please help.

With best regards,
Old June 2nd, 2008, 01:06 PM
Friend of Wrox
Join Date: Jun 2008
Posts: 1,649
Thanks: 3
Thanked 141 Times in 140 Posts

I don't think you can. ASP *requires* that its scripting languages be implemented as COM objects (DLLs) and that they implement the IScripting interface [or a name similar to that]. Microsoft doesn't even expose the interface publicly (that is, it's not documented). They used to, back in about 1998 or 1999, but when ASP 3 arrived in 2000 or so they ceased making it public.

Anyway, the interface is *NOT* obvious and the ways in which the scripting language has to interface to ASP are far, far from obvious. [Just for starters, ASP *assumes* that all the so-called scripting languages are *not* interpreters! Just as with VBS and JScript, ASP assumes that each language is a compiler that compiles to byte code and then uses a runtime that executes the byte code. And there are lots of restrictions on how this all works, because an ASP page is allowed to mix scripting languages. And and and...]

I'm not saying this is impossible, but I think it would be a good 6 month to 1 year project, at a minimum. And when you are done, what do you have? A poor implementation of Python on a platform not designed for it.

But if you are serious about this, you should contact Microsoft.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Remote Scripting(ASP) popup(js)refresh after sent icecoolcorey Pro Java 3 March 27th, 2007 12:19 AM
Choice of scripting language for an ecommerce site abe MySQL 1 March 25th, 2004 12:02 PM
Using more than one scripting language aadz5 ASP.NET 1.0 and 1.1 Basics 1 November 8th, 2003 02:41 PM
scripting language error jqchen7797 ASP.NET 1.0 and 1.1 Basics 4 July 29th, 2003 03:09 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.