问题描述:

I need to develop a filtering email application using Postmark python library.

have gone to python library https://github.com/themartorana/python-postmark/ posted on Postmark , but it opens the github page having some files and folders.

question

how can i download python lib from there. i have not used Github before.

next question

where should i place this library to be used by python.

Any reference appreciated

网友答案:

If you have pip and git installed:

$ pip install git+https://github.com/themartorana/python-postmark.git

If you don't have git installed:

  1. Download the zip from this link.

  2. Expand it

  3. cd into the directory you created in step #2

  4. Type python setup.py install

Since you are installing packages for development; you should create a separate virtual environment for Python. This way you don't need root/administrator access to install packages to the system Python.

相关阅读:
Top