The PIL show() method looks for the default viewer. How do I change this to a different viewer (of my choice)?

Paul St George email at paulstgeorge.com
Tue May 29 11:55:05 EDT 2018


I tried this anyway. The error was:

     non-keyword arg after keyword arg



On 27/05/2018 21:51, Dennis Lee Bieber wrote:
> On Sun, 27 May 2018 19:59:41 +0200, Paul St George <email at paulstgeorge.com>
> declaimed the following:
>
>> So, on Unix I would use
>>
>> Image.show(title=None, nameofdisplayutilty), or Image.show(title=None,
>> scriptname) #where script with name scriptname invokes the program
>>
>> I will try this now! And thank you.
>>
> 	That is based upon my interpretation of the documentation... If the
> other participant is right, however, then the "command" parameter may not
> even be getting used at the lower levels, and only the list of registered
> viewers is examined. In that case one would have to register a function to
> invoke the viewer.
>
>

-- 
Paul St George
http://www.paulstgeorge.com
http://www.devices-of-wonder.com

+44(0)7595 37 1302




More information about the Python-list mailing list