Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #21558
| Date | 2012-03-13 10:40 +0000 |
|---|---|
| From | Tim Golden <mail@timgolden.me.uk> |
| Subject | Re: Windows Contextmenu |
| References | <E566C160C7EBF84D83DEA407CCBC386702310125@lngvieexcp001.legal.regn.net> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.610.1331635254.3037.python-list@python.org> (permalink) |
On 13/03/2012 09:41, Szabo, Patrick (LNG-VIE) wrote: > I wrote the following Script which I want to run from the open with > contextmenu in Windows. > > For that purpose I used py2exe to make an exe out of it. [... snip ...] > > Now the script runs fine but I don’t get all arguments from sys.argv. > > No mather how many files I mark in the explorer I only get one as an > argument. You're missing out vital information: * How have you attached this code to the context menu? What was the exact registry entry (or other method) you used? * Does it work as native Python (ie without the py2exe layer)? * Presumably the same issue occurs if you simply have: print sys.argv on its own (ie it's nothing to do with your loop and later code) TJG
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Windows Contextmenu Tim Golden <mail@timgolden.me.uk> - 2012-03-13 10:40 +0000
csiph-web