python SimpleHTTPServer的使用
2016-11-04 15:40
302 查看
1:安装 python
2:需要共享某个文件
windows 打开dos ,cd 到具体的文件,执行
2:需要共享某个文件
windows 打开dos ,cd 到具体的文件,执行
[code] (python -m SimpleHTTPServer
80),如果不填写端口号,则会默认为8000[/code]
[code]最后到浏览器中输入:localhost:80,就可以看到共享的文件内容[/code]
3:记住 dos 不能关闭,不然搭建的服务就会关闭了
相关文章推荐
- 使用 Python SimpleHTTPServer 快速共享文件
- python3 使用SimpleHTTPServer搭建web服务器
- python3 使用SimpleHTTPServer搭建web服务器
- 使用python SimpleHTTPServer 快速搭建Web服务器
- Python内置的HTTP协议服务器SimpleHTTPServer使用指南
- 使用 Python SimpleHTTPServer 快速共享文件
- Python的SimpleHTTPServer模块用处及使用方法简介
- 使用 Python SimpleHTTPServer 快速共享文件
- 使用 Python SimpleHTTPServer 快速共享文件
- python3 使用SimpleHTTPServer搭建web服务器
- 【脚本】使用 Python SimpleHTTPServer 快速共享文件
- Python内置的HTTP协议服务器SimpleHTTPServer使用指南
- Python内置的HTTP协议服务器SimpleHTTPServer使用指南
- python simplejson模块的使用方法
- python 使用 simplejson 将字符串转换成字典dict
- 在Python3.0中使用HTTPServer处理web请求2-获取请求参数
- Python中json simplejson 区别和使用
- 在Python的Django框架中simple-todo工具的简单使用
- python simplejson and json 使用及区别
- 使用python构建httpserver,python+tornado+pika+rabbitmq