Trouble with Python in ASP development
Max Møller Rasmussen
maxm at normik.dk
Fri Jun 1 05:20:02 EDT 2001
> From: Thomas Weholt [mailto:thomas at cintra.no]
> Is there any way to get more info from ISS or find out what
> goes wrong?
> Passing the same parameters to a Kunde-object in the python
> interpreter
> works just fine. In ASP it just won't work.
I would put some debug code into the Kunde object and see what happens in
there. Or better yet, write some unittest to the kunde object.
Then print the errormessages to a file.
btw. a small optimisation of your code. Sorry couldn't help it.
def getParams(params):
"Helper function"
paramDict = {}
for param in params:
paramDict[param] = str(Request(param))
return paramDict
k = Kunde(**getParams(['firmanavn', 'adresse', 'postadresse']))
Hav en god dag
Max M
More information about the Python-list
mailing list