开发者

Installing Poster(Streaming HTTP uploads and multipart/form-data encoding)

I've been searching the net for instructions on how to install Poster(Streaming HTTP uploads and multipart/form-data encoding) for various OSes (especially Ubuntu and Windows).The official website http://atlee.ca/software/poster/ has awesome sample scripts and examples but nothing on how to install the module on various OSes. Appreciate if someone can help me on开发者_JAVA技巧 this.


It's quite simple, you can use easy_install or pip, in your terminal run:

easy_install poster

or

pip install poster

If you don't have easy_install or pip, install distribute first:

curl -O http://python-distribute.org/distribute_setup.py
python distribute_setup.py

I recommend using pip and reading the excellent documentation. You might also benefit from reading the python documentation about distributing modules.

In the future search pypi. If it's on pypi you can pip or easy_install it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜