Research portable Memory game | Исследовать портируемую игру Память
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #!/usr/bin/env python3
- import os
- import sys
- from process import *
-
- DIR = os.path.dirname(os.path.realpath(sys.argv[0]))
-
- # Demand file as input
- if len(sys.argv) < 2:
- print("Usage: /path/to/translate PYTHON_FILE")
- sys.exit(1)
-
- FILE_IN = sys.argv[1]
-
- # Translate file.
- out = process(FILE_IN)
- print(out)
|