Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #21558 > unrolled thread

Re: Windows Contextmenu

Started byTim Golden <mail@timgolden.me.uk>
First post2012-03-13 10:40 +0000
Last post2012-03-13 10:40 +0000
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.


Contents

  Re: Windows Contextmenu Tim Golden <mail@timgolden.me.uk> - 2012-03-13 10:40 +0000

#21558 — Re: Windows Contextmenu

FromTim Golden <mail@timgolden.me.uk>
Date2012-03-13 10:40 +0000
SubjectRe: Windows Contextmenu
Message-ID<mailman.610.1331635254.3037.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web