关于SimpleHTTPServer.py 模块
来源:互联网 发布:单片机isp程序下载接口 编辑:程序博客网 时间:2024/05/29 09:16
SimpleHTTPServer.py
这个模块基于BaseHTTPServer。
This module builds on BaseHTTPServer by implementing the standard GET andHEAD requests in a fairly straightforward manner.
默认路径:
/usr/lib64/python2.7/SimpleHTTPServer.py
使用自带包SimpleServer
import SocketServer
import SimpleHTTPServer
PORT=8000
Handler=SimpleHTTPServer.SimpleHTTPRequestHandler
httpd=SocketServer.TCPServer(('',PORT),Handler)
print 'server at port',PORT
httpd.serve_forever()
阅读全文
0 0
- 关于SimpleHTTPServer.py 模块
- SimpleHTTPServer模块分析
- SimpleHTTPServer
- SimpleHTTPServer
- 基于Python SimpleHTTPServer.py的修改脚本:HTTP文件服务器,修正中文目录列表,支持视频文件在线播放
- py常用模块简介
- py-OS模块
- Python模块 - __init__.py
- py发布模块
- py模块重载
- py模块的加载
- PY核心模块方法
- py模块下载总结
- ssd_pascal_webcam.py python模块
- py模块初识1
- [py]python logging模块
- 关于python中py的名字不能跟自带模块重名的问题
- python setup.py 模块安装
- 多线程及网络编程
- MySQL--操作简记(正则表达式进行搜索)
- 算法竞赛入门经典(第2版)-刘汝佳-第六章解题源码(C++语言)(部分)
- 快速排序的最早划分方法:Hoare划分
- 图片轮播
- 关于SimpleHTTPServer.py 模块
- Java面试题--字符串截取(1.1)
- CSU1989-古怪的行列式-模拟
- 技术日记
- unity execute order[注意协程的位置]
- 【南阳OJ 116】士兵杀敌(二)(线段树)(更改某一点的值&查找总和 模板题)
- 数通基础知识
- jbpm动态指定任务对应的用户
- struts2之拦截器相关类