I would be grateful for any advice about a problem which is preventing me from
using Python for my current project.
I am hoping to use Python 2.6.2 on the server side with Microsoft ASP [not
ASP.NET; version details below]. The behavior I see is:
1. Load very simple page [text below] i
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
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
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
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
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
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
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
I recently uploaded a sample ASP-Python page to my web server and it
didn't show up correctly. Before I explain what it did, I should
mention that I got the same result when I tried to view the page from
my desktop (winxp user). So when I tried to view the sample ASP with
Python page from my deskto