title: Loading environment modules within a python script
body: <p>Is there a way for a python script to load and use <a href="http://modules.sourceforge.net/">environment modules</a>? <code>os.system('module load xxx')</code> doesn't work since it executes them in a subshell (at least, I think that's what's happening).</p>