Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #80006
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!newsfeed.datemas.de!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <gvanem@yahoo.no> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.008 |
| X-Spam-Evidence | '*H*': 0.98; '*S*': 0.00; 'python.': 0.02; 'variables': 0.07; 'alias': 0.09; 'subject:set': 0.09; 'python': 0.11; 'subject:skip:e 10': 0.16; 'subject:variable': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; '(in': 0.22; 'skip:% 10': 0.24; 'x-mailer:microsoft outlook express 6.00.2900.5931': 0.24; 'file.': 0.24; 'to:2**1': 0.27; 'easier': 0.31; 'file': 0.32; 'run': 0.32; 'another': 0.32; 'subject:from': 0.34; 'could': 0.34; 'e.g.': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:212.82': 0.60; 'to:addr:gmail.com': 0.65; 'received:46': 0.66; 'from:addr:yahoo.no': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.no; s=s2048; t=1414755068; bh=q0+JaUQgiUdQC6ktJfF68n5WctjOf4sfgPaYEs0sC0s=; h=From:To:References:Subject:Date:From:Subject; b=PacI1TPEK0q+nKB3Pxx5uw5nx+mIU0dDGLG3b8runNn6vSoLHdxKtq+RjYisodgTGAGbCuKF3TmsQA0uW1jr7/n8r5ereCQP5AXv/GIFWF1boHjNtehz9VRxAbqTf7WW/0mYf3hkv0P5LcufbMEKervjUkyUnaAP0/Od3hnwQ1wqu61PKwBi1Z9KpQp8okpd0eMcxZBr7w4F8sA5utBTgDt91G4/2sOtjeb5zf4EHt8IO3TRqEhIlHLTMPg8pf15IngeFWHSierRuoR78dI5vlNfV+waXyzTYWVMLx/0yas+Qn3trw9VtH9ZEbID747V3+87TWxeyfuob77hwEtvOw== |
| DomainKey-Signature | a=rsa-sha1; q=dns; c=nofws; s=s2048; d=yahoo.no; b=p453dil3pjWFQbRiew5n+KSjsHDAeUK9fZDM0jKqBlpl2RwtOpEfANd2d5qWI0aXmWb87eIJad5RAVU9X438g7U/AoadIREsi89n3ga4CoyoVuUfEr0r/ZC1dtmCA2m8OwZaRH269OHMVwGDhjgU9EO4e/IEvYAKJ7ZuCx7hzXgt65qP4wII9LAx6iOy+XB+e8CjVM/nChVA/MqK2SBEbayGKicQCP3+jguxD293B25DmbC3lNN1nb2uF6D56VRfUXyrRXTfSF/J9uYFgpkm9MeG6ugh67qOtA4MN//06SreFHXAtwNyK5fWGAAcQKuhaKSvpNfo5fgEUktOG3lr1A==; |
| X-Yahoo-Newman-Id | 26717.59790.bm@smtp105.mail.ir2.yahoo.com |
| X-Yahoo-Newman-Property | ymail-3 |
| X-YMail-OSG | _JaSsCkVM1k6t8VP4AtWw4dTo12LzkGq.T0hNkuKFIH.79R katGkFS2tbWUq6NvkPDF_eqNOJoFx_guOkpk94xb09DzrwaGiRsRB4TCZuxC MPl1BCK_MZ57KUgnZy5slE1A4VvOmRRA1YHbgUC..u7mCwff7jqjiA2LkrzG HStMQu6iJCcPOm8QAb5X_Mf1bynpzCpS1Ngu87q0xObR480H54_Rn7z5mc6I 1gA1A5KBxcGraC2XTETY3hRZb8eFPFyNplXUjUa6ok4IOizIh3tKPEdfS5.l hZTw4zf4gTpYSgCyA122dxSdsSKi6QgqjsSSd.t1Gh_M6j2szMb5moRoANlK 8GLs1A1BEe4khRSI4.SfhJDE3M_i2ciSLit01vXi2_T0CIK57L.hw0evbyKE k61my3.fpEMqsdPt70IWIXV9d9Sjhi7XLBNcrUKYYEpebXucdRUeDkjXabm. WTdoZv9RSuyR7fF496OVSSuJJM0HiCmN4S4Na_hdQDDAy6Hr6QWhu.eXquCQ SVZlYd4W6DangD_b6NJVUxZGmKkZ4PQ-- |
| X-Yahoo-SMTP | 8zhYLGyswBB3AGU8c4pvFIFOfA-- |
| From | "Gisle Vanem" <gvanem@yahoo.no> |
| To | "Artur Bercik" <vbubbly21@gmail.com>, <python-list@python.org> |
| References | <CA+F4vi=3g_y-N7qrAyuTArj5kKXVzXhe8W+tfWQVcA2OjGUfpQ@mail.gmail.com> <5452EAE2.8020500@davea.name> <CA+F4vi=vXj4Ge+_69YwiNpn11gbSBmdgyouC2Z5wUpWxKPxuYQ@mail.gmail.com> <mailman.15343.1414722655.18130.python-list@python.org> <36c5d2db-a931-417e-ae8c-9c77acfc947b@googlegroups.com> <CA+F4vikA6E6mC3Z-iOrNApNvsLUVO7GMa1UiQByzZW0bfiOkPw@mail.gmail.com> |
| Subject | Re: set environmental variable from python |
| Date | Fri, 31 Oct 2014 12:31:07 +0100 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; format=flowed; charset="utf-8"; reply-type=original |
| Content-Transfer-Encoding | 7bit |
| X-Priority | 3 |
| X-MSMail-Priority | Normal |
| X-Mailer | Microsoft Outlook Express 6.00.2900.5931 |
| X-MimeOLE | Produced By Microsoft MimeOLE V6.00.2900.6157 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.15349.1414755253.18130.python-list@python.org> (permalink) |
| Lines | 12 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1414755253 news.xs4all.nl 2835 [2001:888:2000:d::a6]:40817 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:80006 |
Show key headers only | View raw
"Artur Bercik" <vbubbly21@gmail.com> wrote: >I have to set several variables so it would be easier if I could set them > from Python. You can write a Python-script that generates a .bat file (in your %TEMP-dir?). And run this .bat file when Python ends. Put it all in an alias or another .bat file. E.g. untested: alias set_env=python <your-script> -o %TEMP%\set_env.bat & %TEMP%\set_env.bat --gv
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: set environmental variable from python Zachary Ware <zachary.ware+pylist@gmail.com> - 2014-10-30 21:30 -0500
Re: set environmental variable from python Rustom Mody <rustompmody@gmail.com> - 2014-10-30 19:36 -0700
Re: set environmental variable from python Artur Bercik <vbubbly21@gmail.com> - 2014-10-31 11:43 +0900
Re: set environmental variable from python "Gisle Vanem" <gvanem@yahoo.no> - 2014-10-31 12:31 +0100
Re: set environmental variable from python Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-10-31 14:17 +0000
csiph-web