From Tairan’s Story, post 快速建立HTTP Server共享文件
Python内置了一个简单的Web服务器可以用来建立一个HTTP Server来共享某个目录下的文件,尤其是在Unix-Like+windows的混合网络中更是方便快捷。
Server
假设 IP 为 192.168.1.1
首先进入到需要共享的目录,如
cd ~/share/
python -m SimpleHTTPServer 8000 #Python 2.6
OR
python -m http.server 8000 #Python 3.0
Client
访问http://192.168.1.1:8000就可以看到Server共享出来的文件了。
From Tairan’s Story, post 快速建立HTTP Server共享文件
Tags: python
我一直疑问Python是啥啊??
Python http://www.python.org
Python http://www.python.org
Hi, I’m very interested in Linux but Im a Super Newbie and I’m having trouble deciding on the right distribution for me (Havent you heard this a million times?) anyway here is my problem, I need a distribution that can switch between reading and writing in English and Japanese (Japanese Language Support) with out restarting the operating system.
在这里看了楼主的文章,使我茅塞顿开,我现在已经找到办法了。