Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ========================================================================
- mymodule.py
- ========================================================================
- import sys, os
- PATH = os.path.dirname(os.path.realpath(__file__))
- sys.path.insert(0, PATH)
- from exchange_server import create_app
- application = create_app()
- ========================================================================
- exchange_server.py
- You will probably need to add something like the following
- ========================================================================
- def create_app():
- return appll
Add Comment
Please, Sign In to add comment