Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #79993 > unrolled thread
| Started by | Artur Bercik <vbubbly21@gmail.com> |
|---|---|
| First post | 2014-10-31 11:40 +0900 |
| Last post | 2014-10-31 11:40 +0900 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: set environmental variable from python Artur Bercik <vbubbly21@gmail.com> - 2014-10-31 11:40 +0900
| From | Artur Bercik <vbubbly21@gmail.com> |
|---|---|
| Date | 2014-10-31 11:40 +0900 |
| Subject | Re: set environmental variable from python |
| Message-ID | <mailman.15344.1414723283.18130.python-list@python.org> |
[Multipart message — attachments visible in raw view] — view raw
could you please elaborate 'setx <...>'?
On Fri, Oct 31, 2014 at 11:30 AM, Zachary Ware <
zachary.ware+pylist@gmail.com> wrote:
> On Thursday, October 30, 2014, Artur Bercik <vbubbly21@gmail.com> wrote:
>
>> Dear Dave Angel
>>
>> Thanks for your answer.
>>
>> I am using Python 2.7
>>
>> I want to set it permanently.
>> I have to set several variables so it would be easier if I could set them
>> from Python.
>>
>
> Depending on how "permanently" you mean, about your only solutions would
> be "os.system('setx <...>')" or manually manipulating the registry with the
> _winreg module.
>
> Hope this helps,
> --
> Zach
>
>
> --
> Sent from Gmail Mobile
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>
>
Back to top | Article view | comp.lang.python
csiph-web