On Tue, 01 Mar 2016 12:56:03 -0600, Wildman wrote:
> On Tue, 01 Mar 2016 19:26:55 +0100, Peter Otten wrote:
>
>> An exception is raised because you pass the command as a single argument
>
>
>
> I did not realize that how the command was passed would
> make such a difference. I guess I am stu
On Tue, 01 Mar 2016 20:30:59 +0100, Christian Gollwitzer wrote:
> Am 29.02.16 um 22:51 schrieb Wildman:
>> I want to take an image file, convert it to XBM format and
>> display it. Thanks to Mr. Otten I can open and display the
>> XBM image without any problems. The script first calls an
>> exte
Am 29.02.16 um 22:51 schrieb Wildman:
I want to take an image file, convert it to XBM format and
display it. Thanks to Mr. Otten I can open and display the
XBM image without any problems. The script first calls an
external program for the image conversion then I can open
and display it. Of cou
On Tue, 01 Mar 2016 19:26:55 +0100, Peter Otten wrote:
> An exception is raised because you pass the command as a single argument
I did not realize that how the command was passed would
make such a difference. I guess I am stuck in my old
VB habits for creating variables. You don't have to
s
Wildman via Python-list wrote:
> On Tue, 01 Mar 2016 09:56:56 +0100, Peter Otten wrote:
>> Wildman via Python-list wrote:
>>> convert = "convert " + fileName + " -resize 48x48! -threshold 55% xbm:-"
>>> p = subprocess.Popen([convert], stdout=subprocess.PIPE, shell=True)
>>> xbmFile, err = p.comm
On Tue, 01 Mar 2016 09:56:56 +0100, Peter Otten wrote:
> Wildman via Python-list wrote:
>
>> I want to take an image file, convert it to XBM format and
>> display it. Thanks to Mr. Otten I can open and display the
>> XBM image without any problems. The script first calls an
>> external program
Wildman via Python-list wrote:
> I want to take an image file, convert it to XBM format and
> display it. Thanks to Mr. Otten I can open and display the
> XBM image without any problems. The script first calls an
> external program for the image conversion then I can open
> and display it. Of c
I want to take an image file, convert it to XBM format and
display it. Thanks to Mr. Otten I can open and display the
XBM image without any problems. The script first calls an
external program for the image conversion then I can open
and display it. Of course, I am left with the XBM file that
ne