python web.py 网页开发
2017-09-01 12:54
405 查看
1. 安装web.py
pip install web.py #cat webCode.py import web urls = ('/','index') class index: def GET(self): return "Hello World" if __name__ == "__main__": app = web.application(urls,globals()) app.run() python webCode.py 192.168.128.142 web访问 http://192.168.128.142:8080/[/code]
参考:
1.Python 实战(0):初识 web.py
相关文章推荐
- 关于在WindowsXp 环境下Python2.6 + web.py 构建WEB开发环境遇到的问题
- python实战--web.py实战(开发新浪微博应用)
- python-django开发web框架的setting.py
- python开发框架(tornado, web.py)
- python-web.py开发入门(推荐)
- python web py入门-2-显示一个demo网页
- python web.py开发httpserver解决跨域问题实例解析
- Python开发WebService:REST,web.py,eurasia,Django
- python使用web.py开发httpserver,解决post请求跨域问题
- SAE python web.py bootstrap 开发记录
- Python web.py开发问题之一 need more than 1 value to unpack
- SAE+web.py+python 微信公众号开发
- Python环境下使用web.py开发
- Windows下Python Web开发环境搭建 (Notepad++ & Web.py)
- Python开发WebService系列教程之REST,web.py,eurasia,Django
- Python爬虫学习记录(5)——python mongodb + 爬虫 + web.py 的acfun视频排行榜
- python 之web.py
- Python学习--20 Web开发
- 简单web注册网页开发