Re: Python and ASP

2006-02-15 Thread Steve Holden
Tempo wrote: > What do you mean? I can't just upload the file to the server that is > going to host my site? > Note that the language identifier directive <%@ Language=Python %> should come right at the top of the file to do any good. Is this an ISP-managed web server? If so it's possible that

Re: Python and ASP

2006-02-15 Thread Roger Upole
No, what I mean is that until you upload the file to the web server and request it back thru the server, it's just a text source file. However, let me make sure I understood your previous post. I had thought you meant you were opening the ASP file directly, as in locally and not from a web servic

Re: Python and ASP

2006-02-14 Thread Tempo
What do you mean? I can't just upload the file to the server that is going to host my site? -- http://mail.python.org/mailman/listinfo/python-list

Re: Python and ASP

2006-02-14 Thread Roger Upole
ASP files have to be served up by a web server. Roger "Tempo" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > It still doesn't work. I fixed that one error that you pointed out > Roger Upole, but it still isn't working. All I did was copy and past > the code above, plus Roger

Re: Python and ASP

2006-02-14 Thread Tempo
It still doesn't work. I fixed that one error that you pointed out Roger Upole, but it still isn't working. All I did was copy and past the code above, plus Roger's fix, into Notepad2 and saved it as a '.asp'. When I opened it in Firefox, all that showed up was the source code of the file. It seems

Re: Python and ASP

2006-02-14 Thread Roger Upole
It looks like you have a space before the first Response.Write. This works fine for me if that line is left-justified. hth Roger "Tempo" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >I recently uploaded a sample ASP-Python page to my web server and it > didn't show u

Re: Python and ASP

2006-02-14 Thread Atanas Banov
Did you save it with ".asp" extension? Is the directory enabled to run scripts? Can you run any other server-side script snippet (say VBscript)? -- http://mail.python.org/mailman/listinfo/python-list