Settig some environment variables from within python.

Terry Reedy tjreedy at udel.edu
Wed Mar 23 13:46:38 EDT 2016


On 3/23/2016 5:33 AM, Hongyi Zhao wrote:
> Hi all,
>
> I want to submit a qsub job to my hpc cluster from within python.  In
> this case, I must set some environment variables specific for this qsub
> job and then invoking a bash script from within python.
>
> What python code should be used for this job?

The os module.


-- 
Terry Jan Reedy




More information about the Python-list mailing list