On 3/13/2012 5:41 AM, Szabo, Patrick (LNG-VIE) wrote:
Hi,
I wrote the following Script which I want to run from the open with
contextmenu in Windows.
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
arg
> > 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 e
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
Hi,
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.
import sys, time, webbrowser
def main():
for para in sys.argv[1:]:
print sys.argv
print "##