__init__.py 466 B

12345678910111213141516
  1. from .emotions import Emotions
  2. import os,sys,re,json,time
  3. from .options import parser_args
  4. def main(argv=None):
  5. """Main entry point of the program"""
  6. try:
  7. args = parser_args()
  8. emotions = Emotions(args)
  9. try:
  10. instances: None = emotions.run()
  11. print("运行中的服务器列表:")
  12. except Exception as e:
  13. print(e)
  14. except KeyboardInterrupt:
  15. sys.exit('\nERROR: Interrupted by user')