Untitled

Anonymous
plain_text
10/18/2022 8:49 AM
380 B
21
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...