如何使用Python(利用Microsoft IIS)
在”.asp”文件中包含Python脚本
<%@LANGUAGE=Python%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>use Python in ASP</title>
</head>
<body>
<h1>use Python in ASP</h1>
<%
import os
import string
class Info:
def __init__(self):
Response.Write("<h1>Python Class </h1>")
def show(self):
Response.Write("<h1>Class Info </h1>")
def print_br():
Response.Write(
def print_h1(s):
Response.Write(
Response.Write(s)
Response.Write(
print_h1(u
for path