V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
tianchaijz
V2EX  ›  Python

改进了一下 SimpleHTTPServer, 支持文件上传,删除, sha1sum 计算,而且是多线程的

  •  1
     
  •   tianchaijz · Mar 13, 2015 · 5101 views
    This topic created in 4065 days ago, the information mentioned may be changed or developed.
    特意为中文显示做了处理,在 *nix 和 Windows 下均表现良好,用它在家里局域网内传文件很方便,给大家分享一下。

    代码写的不好的地方欢迎指出 : )

    项目地址: https://github.com/tianchaijz/MTHTTPServerWFM
    7 replies    2015-03-14 21:37:48 +08:00
    cj1324
        1
    cj1324  
       Mar 13, 2015 via Android   ❤️ 1
    曾经也有类似想法。 但是 。。。
    先点赞飘过。
    Lucups
        2
    Lucups  
       Mar 14, 2015   ❤️ 1
    看起来不错,已 Star


    不过,看到这么长的名字有点头大。。。
    ericls
        3
    ericls  
       Mar 14, 2015   ❤️ 1
    已star

    功能很实用!
    luw2007
        4
    luw2007  
       Mar 14, 2015   ❤️ 1
    家里上nas。

    互传文件:
    *nix <-> windows通过 psftp 解决了。
    ios/android <-> windows , 通过qq,或者ftp。
    *nix <-> ios/android ftp
    tianchaijz
        5
    tianchaijz  
    OP
       Mar 14, 2015
    @Lucups 哈哈,还好,已经把名字中冗余的的部分都用缩写了 : )
    tianchaijz
        6
    tianchaijz  
    OP
       Mar 14, 2015
    @luw2007 你说的很好,看个人爱好了 : )
    tkliuxing
        7
    tkliuxing  
       Mar 14, 2015   ❤️ 1
    @tianchaijz 已提交Issues
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5710 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 06:15 · PVG 14:15 · LAX 23:15 · JFK 02:15
    ♥ Do have faith in what you're doing.