When activating a virtualenv on Windows, remember that it's not the regular "source virtualenv/bin/activate" but instead "virtualenv\Scripts\activate.bat".
And yes, they need to be...
The best way to do this is with a subparser
An example from the docs:
>>> parser = argparse.ArgumentParser()
>>> subparsers = parser.add_subparsers(title='subcommands',
Instead of comparing dates using `DATE_TRUNC` you should probably just use between instead.
For example, instead of this:
One important thing to note here is that the content from the origin server will always be transferred through http! This immediately results in redirect loops with most ssl redirect solutions...
The order gives the initial priority, so just put the help/search/ rule above the other one and it will work.
This tip was originally posted on Stack Overflow.