Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #105530 > unrolled thread
| Started by | Hongyi Zhao <hongyi.zhao@gmail.com> |
|---|---|
| First post | 2016-03-23 09:33 +0000 |
| Last post | 2016-03-23 13:46 -0400 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.lang.python
Settig some environment variables from within python. Hongyi Zhao <hongyi.zhao@gmail.com> - 2016-03-23 09:33 +0000
Re: Settig some environment variables from within python. Terry Reedy <tjreedy@udel.edu> - 2016-03-23 13:46 -0400
| From | Hongyi Zhao <hongyi.zhao@gmail.com> |
|---|---|
| Date | 2016-03-23 09:33 +0000 |
| Subject | Settig some environment variables from within python. |
| Message-ID | <nctnu3$rsd$1@aspen.stu.neva.ru> |
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? Regards -- .: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
[toc] | [next] | [standalone]
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Date | 2016-03-23 13:46 -0400 |
| Message-ID | <mailman.61.1458755210.2244.python-list@python.org> |
| In reply to | #105530 |
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
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web