Paste 有不少有意思的 wsgi 组件,这个 progress.py 就是其中之一。 使用它配合ajax编写了一个简单的文件上次进度检测程序,ajax部分是从其他人的代码复制过来稍作修改而得,另外如果你感觉文件上传速度奇慢无比,请不要吃惊,那是因为服务器端用了 sleep 故意获得这种慢的效果的,程序在此。 要运行此程序你需要安装 paste 先!
订阅:
博文评论 (Atom)
Profile
- 黄毅
- 深圳, 广州, China
- I Love Python !
Recent Posts
Recent Comments
Tags
- 设计模式 (1)
- ajax (3)
- allegra (1)
- cherrypy (1)
- compiler (1)
- continuation (2)
- descriptor (1)
- django (17)
- dotnet (1)
- framework (2)
- functional (1)
- genshi (1)
- gtk (1)
- haskell (1)
- inkscape (1)
- IronPython (2)
- javascript (1)
- libevent (1)
- mako (1)
- metaclass (4)
- mochikit (1)
- network (1)
- newforms (1)
- orm (1)
- others (18)
- paste (1)
- PEAK (1)
- pickle (1)
- ply (1)
- pocoo (1)
- pypy (3)
- python (38)
- python3000 (3)
- rails (2)
- REST (3)
- sqlalchemy (3)
- stackless (3)
- turbogears (1)
- tutorial (1)
- vim (1)
- web (11)
- wsgi (1)
2 评论:
i think it's not a correct url,
look this message that url displayed:
This page does not exist yet
Thanks for pointing that out, it's fixed now ;-)
发表评论