Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #26950
| Path | csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <t@jollybox.de> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.012 |
| X-Spam-Evidence | '*H*': 0.98; '*S*': 0.00; 'scripts': 0.09; 'python': 0.09; 'portable': 0.09; 'shortcut': 0.09; 'subject:script': 0.09; 'subject:python': 0.11; "(i'm": 0.16; 'received:192.168.1.50': 0.16; 'wrote:': 0.17; 'script.': 0.17; 'windows': 0.19; 'suggested': 0.20; 'file.': 0.20; 'minor': 0.22; 'command': 0.24; 'host': 0.24; 'script': 0.24; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'am,': 0.27; 'dos': 0.27; 'i.e.': 0.27; 'relative': 0.30; 'window': 0.30; 'seconds': 0.30; 'launch': 0.32; 'could': 0.32; 'to:addr:python-list': 0.33; 'should': 0.36; 'subject:: ': 0.38; 'instead': 0.39; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'received:192.168': 0.40; 'received:62': 0.62; 'expert': 0.62; 'thomas': 0.62; 'from:addr:t': 0.84; 'gelonida': 0.84; 'received:62.75': 0.84 |
| Date | Sun, 12 Aug 2012 21:05:24 +0200 |
| From | Thomas Jollans <t@jollybox.de> |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0 |
| MIME-Version | 1.0 |
| To | python-list@python.org |
| Subject | Re: suggesting a launcher wrapper script for portable python |
| References | <k06uj3$c6q$1@dough.gmane.org> |
| In-Reply-To | <k06uj3$c6q$1@dough.gmane.org> |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | 7bit |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://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 | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3209.1344798699.4697.python-list@python.org> (permalink) |
| Lines | 15 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1344798699 news.xs4all.nl 6880 [2001:888:2000:d::a6]:43984 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:26950 |
Show key headers only | View raw
On 08/12/2012 02:49 AM, Gelonida N wrote: > > One minor drawback of my suggested script would be, that a console > window pops up for a few seconds when starting a .pyw file. (I'm no expert but) This should be avoidable if you use the Windows Script Host instead of DOS command scripts to write the launchers. I.e. use JScript or VBScript to do exactly the same thing. I don't know much about Windows shortcut (*.lnk) files; if they can contain relative paths, you could just create shortcuts that launch portable python with the script. Thomas
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: suggesting a launcher wrapper script for portable python Thomas Jollans <t@jollybox.de> - 2012-08-12 21:05 +0200
csiph-web