V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
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
skhe
V2EX  ›  Python

500LineorLess | a sample web server,不到 500 行 Python 代码,教你实现 web 服务器。

  •  1
     
  •   skhe · 2016-08-28 20:32:54 +08:00 · 4346 次点击
    这是一个创建于 2768 天前的主题,其中的信息可能已经有所发展或是发生改变。

    传送门 在此。

    终于翻译完了一章。这是我们开源项目 500LineorLess 的一部分,欢迎大家批评指正,也欢迎大家共同参与。

    18 条回复    2016-08-28 22:56:50 +08:00
    glogo
        1
    glogo  
       2016-08-28 20:43:44 +08:00   ❤️ 1
    不错资磁一下
    skhe
        2
    skhe  
    OP
       2016-08-28 20:47:23 +08:00
    @glogo 谢谢鼓励!
    glogo
        3
    glogo  
       2016-08-28 20:47:53 +08:00
    诶,楼主你这个如何给你提代码呢,另外好多中文标题打开都是 404
    skhe
        4
    skhe  
    OP
       2016-08-28 20:50:50 +08:00
    @glogo 因为还没有写出来呀。目前只有我和舍友两个人在做。我们是大四,在公司实习,进度比较慢。您要是能读懂英文的话,可以点英文链接阅读。或者等我们翻译完。参与翻译的话可以 fork ,做完一部分后可以合并到 master 上。
    skhe
        5
    skhe  
    OP
       2016-08-28 20:52:26 +08:00
    @glogo 要是觉得哪里翻译得不对,可以在 Issues 指出来。我们感谢您的批评指正。
    v1024
        6
    v1024  
       2016-08-28 20:59:57 +08:00 via iPhone   ❤️ 1
    python -m SimpleHTTPServer
    skhe
        7
    skhe  
    OP
       2016-08-28 21:03:40 +08:00
    @v1024 哈哈,这个的确更快。不过文章里面主要讲原理与实现。我也是在自己学习过程中翻译出来分享给大家。
    dsg001
        8
    dsg001  
       2016-08-28 21:04:18 +08:00
    支持一下,超赞
    skhe
        9
    skhe  
    OP
       2016-08-28 21:05:42 +08:00
    @dsg001 多谢鼓励!
    glogo
        10
    glogo  
       2016-08-28 21:10:03 +08:00
    @skhe 已 X ,你们翻译完成的一章是哪一张呀?
    skhe
        11
    skhe  
    OP
       2016-08-28 21:15:09 +08:00
    @glogo a sample web server, 传送门就是文章地址。在 我的分支( skhe )下面。
    forever139
        12
    forever139  
       2016-08-28 21:28:50 +08:00   ❤️ 1
    已提 issues
    skhe
        13
    skhe  
    OP
       2016-08-28 21:30:40 +08:00
    @forever139 已改正。多谢您的指正。
    forever139
        14
    forever139  
       2016-08-28 21:36:18 +08:00
    @skhe 加油
    skhe
        15
    skhe  
    OP
       2016-08-28 21:37:38 +08:00
    @forever139 多谢鼓励!
    Wien
        16
    Wien  
       2016-08-28 21:49:56 +08:00
    楼主很棒,之前看过几篇,也只是大概做了点笔记。希望能坚持,已 star ,加油。
    skhe
        17
    skhe  
    OP
       2016-08-28 21:51:34 +08:00
    @Wien 共勉!
    zhuangzhuang1988
        18
    zhuangzhuang1988  
       2016-08-28 22:56:50 +08:00
    歪个楼, https://ruslanspivak.com/lsbaws-part3/
    wsgi 服务器,有用些
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5450 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 08:31 · PVG 16:31 · LAX 01:31 · JFK 04:31
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.