Skip to content

Instantly share code, notes, and snippets.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dsroberts
dsroberts / envmod.py
Last active September 15, 2023 01:59
payu/envmod.py for Lmod on setonix
# coding: utf-8
"""envmodules
==========
A modular port of the Environment Modules Python ``init`` script
"""
import os
import shlex
import subprocess