python version?

George Hester hesterloli at hotmail.com
Wed Jun 19 11:07:56 EDT 2002


Welp:

<%@LANGUAGE=Python%>
<HTML>
<head></head>
<body>
<h1>Python Test</h1>

<%
#do some python stuff here
import sys
Response.Write('Python Test<br>')
Response.write('<h3>Smaller heading</hr>')
Response.Write(sys.version)
%>

</body>
</html>

Thank you Mark McEaheren.  He didn't give me this but pointed me in the right
direction.  I suppose others tried to do the same thing but he gave a nudge
using the command prompt and that is all it took.  Since my knowledge was <0 in
this language all that I read looked Greek to me.

--
George Hester
_________________________________
"George Hester" <hesterloli at hotmail.com> wrote in message
news:K7PO8.16057$uk2.8406537 at twister.nyroc.rr.com...
> What is a simple script that will tell me the version of python I am currently
> running?  IIS 5.0 Windows 2000.
>
> --
> George Hester
> _________________________________
>
>





More information about the Python-list mailing list