On 23/06/2015 21:12, Dennis Lee Bieber wrote:
On Tue, 23 Jun 2015 16:26:28 +0200 (CEST), Jean-Michel Pichavant
declaimed the following:
Just to update, you are correct, Chris, the file short name is passed
into sys.argv. didn't need to add anything to the path. But a gotcha
-- Windows didn't l
On Wed, Jun 24, 2015 at 12:26 AM, Jean-Michel Pichavant
wrote:
>> Just to update, you are correct, Chris, the file short name is passed
>> into sys.argv. didn't need to add anything to the path. But a gotcha
>> -- Windows didn't like my .py, clicking on the pdf causes Windows to
>> complain about
> Just to update, you are correct, Chris, the file short name is passed
> into sys.argv. didn't need to add anything to the path. But a gotcha
> -- Windows didn't like my .py, clicking on the pdf causes Windows to
> complain about 'file x' is not a valid windows executable.
I'm not an expert of w
On Thursday, June 18, 2015 at 5:05:15 PM UTC-4, Naftali wrote:
> Long time lurker.
>
> I'm looking to register a python script as the default pdf reader for
> windows. I assume I can just register the .py in the section windows section
> for registering default handlers, but I'm wondering how t
On Fri, Jun 19, 2015 at 11:39 AM, MRAB wrote:
> I don't think it should be "%s", but "%*".
Thanks, it's been a while since I fiddled with Windows associations.
ChrisA
--
https://mail.python.org/mailman/listinfo/python-list
On 2015-06-19 02:18, Chris Angelico wrote:
On Fri, Jun 19, 2015 at 11:03 AM, Naftali wrote:
I may be missing something in your reply, but I am *not* wondering how to
associate python with the .pdf file extension. That I know how to do. What I
want to know is how from within the program that I
On Thursday, June 18, 2015 at 5:05:15 PM UTC-4, Naftali wrote:
> Long time lurker.
>
> I'm looking to register a python script as the default pdf reader for
> windows. I assume I can just register the .py in the section windows section
> for registering default handlers, but I'm wondering how t
On Fri, Jun 19, 2015 at 11:03 AM, Naftali wrote:
> I may be missing something in your reply, but I am *not* wondering how to
> associate python with the .pdf file extension. That I know how to do. What I
> want to know is how from within the program that I've told windows to run
> when the user
On Thursday, June 18, 2015 at 5:05:15 PM UTC-4, Naftali wrote:
> Long time lurker.
>
> I'm looking to register a python script as the default pdf reader for
> windows. I assume I can just register the .py in the section windows section
> for registering default handlers, but I'm wondering how t
On Fri, Jun 19, 2015 at 7:04 AM, Naftali wrote:
> What I want to do is write a pdf handler to handle windows open instruction.
> In the script I would run a command line pdf unlocker on the file and open
> the unlocked file with adobe (or the like).
>
> I've googled and though I get tons of 'how
Long time lurker.
I'm looking to register a python script as the default pdf reader for windows.
I assume I can just register the .py in the section windows section for
registering default handlers, but I'm wondering how to access the file from
within the program.
The issue is this:
We have
11 matches
Mail list logo