Untitled

 avatar
unknown
plain_text
2 years ago
284 B
6
Indexable
import os
my_path = "/usr/local/apps/lmod/8.6.8/init/env_modules_python.py"

if os.path.exists(my_path) and os.path.getsize(my_path) > 0:
    exec(open('/usr/local/apps/lmod/8.6.8/init/env_modules_python.py').read())

else: exec(open('/usr/share/Modules/init/python.py').read())
Editor is loading...