发布时间:2019-09-17 07:47:53编辑:auto阅读(2480)
show_python.html
<!DOCTYPE html>
<html>
<head>
<meta charset="gb2312">
<title>python draw flowers</title>
<script language="javascript">
function exec1 (command) {
var ws = new ActiveXObject("WScript.Shell");
ws.exec(command);
}
</script>
</head>
<body>
turtle 画一朵花 <a href="/python/draw_flower1.py" target="show"> 源代码 </a>
<input type="button" value="运行 python" οnclick="exec1('D:\\python27\\pythonw.exe D:/python/draw_flower1.py')" />
<br/>
turtle 画一朵玫瑰花 <a href="/python/draw_rose1.py" target="show"> 源代码 </a>
<input type="button" value="运行 python" οnclick="exec1('D:\\python27\\pythonw.exe D:/python/draw_rose1.py')" />
<br/>
turtle 画一朵西兰花 <a href="/python/draw_xilan1.py" target="show"> 源代码 </a>
<input type="button" value="运行 python" οnclick="exec1('D:\\python27\\pythonw.exe D:/python/draw_xilan1.py')" />
<br/>
<iframe name="show" id="show" width="800" height="500"/>
</body>
</html>
draw_flower1.py , draw_rose1.py , draw_xilan1.py 已打包成 test3.zip
下载地址 http://download.csdn.net/download/belldeep/10267837
上一篇: Python编程的一些实例(1)
下一篇: python操作数据库
51403
50876
41467
38245
32752
29659
28459
23379
23311
21638
1734°
2469°
2060°
1991°
2348°
2021°
2732°
4574°
4384°
3123°