Re: [Tutor] ASP And Python - Calling Python Scripts from within the web page

2005-08-04 Thread Danny Yoo
> sys.argv = [ 'junk', '-u jgooch.admin' ] Hi John, The code highlighted above looks unusual. Can you explain why the code assigns to sys.argv? Ah, ok, I assume that you're trying to pass state with the 'chgpwd_enq' program: > tran

[Tutor] ASP And Python - Calling Python Scripts from within the web page

2005-08-04 Thread Gooch, John
I have basic Python functions working within ASP pages, but I am having problems passing arguments to python scripts when they are called. Here is what I have so far: - <%@ Language = Python%> <% import os import sys sys.path.append("d:/batch2000") import c