1234567891011121314151617181920212223242526272829 |
- """
- Script that runs the aiogps example. On Python versions that can not run the
- example it displays a message and exits.
- """
- import sys
- if __name__ == "__main__":
-
- if sys.version_info >= (3, 6):
- import example_aiogps
- example_aiogps.run()
- else:
- sys.exit("Sorry, aiogps is only available for Python versions >= 3.6")
|