Skip to content

Latest commit

 

History

History
41 lines (25 loc) · 816 Bytes

README.rst

File metadata and controls

41 lines (25 loc) · 816 Bytes

https://travis-ci.org/dan-gittik/example.svg?branch=master

Example

An example package. See the documentation.

Installation

To install the example package, clone it from GitHub and run its setup.py script.

$ git clone https://github.com/dan-gittik/example
$ cd example
$ python setup.py install

Execution

To execute the example package, run python -m example.

$ python -m example
USAGE: python -m example <foo|bar>
  • The foo argument runs a Foo instance.

    $ python -m example foo
    foo
  • The bar argument runs a Bar instance.

    $ python -m example bar
    bar