推荐学习书目
› 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
no13bus
V2EX  ›  Python

学了python的web框架 看了一些python的写法规范 想再看看一些python写服务器的知识

  •  
  •   no13bus ·
    no13bus · Aug 31, 2013 · 4665 views
    This topic created in 4816 days ago, the information mentioned may be changed or developed.
    现在只是知道一些关于线程池 还有一点多线程知识 一些别的什么阻塞IO呀 异步IO呀 不是很明白 我想问问有什么简单的关于这方面的知识呢 最好跟python写的代码。我想补补基础。
    13 replies  •  1970-01-01 08:00:00 +08:00
    aisk
    aisk
    Aug 31, 2013
    1
    这就跟python关系不大了,推荐看lunux网络编程
    no13bus
    no13bus
    OP
    Aug 31, 2013❤️1
    2
    @aisk 从头看呀?
    yaroot
    yaroot
    Aug 31, 2013
    3
    aisk
    aisk
    Aug 31, 2013
    4
    我艹手贱拼错了,好难受
    no13bus
    no13bus
    OP
    Aug 31, 2013
    5
    @aisk 明白 那里面都是些c语言吧。想看看python写的。那本书总觉得很抽象
    prim
    prim
    Aug 31, 2013
    6
    如果服务器是指网络编程方面的话,个人感觉用c和py都区别不大~
    no13bus
    no13bus
    OP
    Aug 31, 2013
    7
    @aisk 你说的是不是unix网络编程 就是那本很厚的书。
    julyclyde
    julyclyde
    Aug 31, 2013❤️1
    8
    建议读一下python标准库的SocketServer、BaseHTTPServer、SimpleHTTPServer、CGIHTTPServer、WSGIref这几个
    aisk
    aisk
    Aug 31, 2013
    9
    @no13bus linux网络编程 要薄很多

    对了还有本python网络编程,不过一般般

    大概有些了解,就可以看下tornado、gevent一类的框架
    no13bus
    no13bus
    OP
    Sep 3, 2013
    10
    @aisk 谢谢。我先看看你推荐的那本书吧。
    @julyclyde 你说的是直接看源码吧。
    julyclyde
    julyclyde
    Sep 4, 2013
    11
    @no13bus 那部分源码挺简单的
    kuochung
    kuochung
    Sep 5, 2013
    12
    可参考 @julyclyde 你完全可以实现自己的服务器。官方有WSGI的标准。
    julyclyde
    julyclyde
    Sep 5, 2013
    13
    @kuochung 我的意思就是,看看wsgiref就知道WSGI具体是怎么实现的了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   730 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 19:29 · PVG 03:29 · LAX 11:29 · JFK 14:29
    ♥ Do have faith in what you're doing.