Can u double check ur .txt file, it seems that there is an “import os” in it.
>>> int('import os')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: invalid literal for int() with base 10: 'import os'