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


Groups > comp.lang.python > #73627

Re: Python 3.4.1 installer on Mac links Python to old Tcl/Tk

From Christian Gollwitzer <auriocus@gmx.de>
Newsgroups comp.lang.python
Subject Re: Python 3.4.1 installer on Mac links Python to old Tcl/Tk
Date 2014-06-26 20:38 +0200
Organization A noiseless patient Spider
Message-ID <lohpaq$6hr$1@dont-email.me> (permalink)
References (1 earlier) <lodruv$k45$1@dont-email.me> <mailman.11241.1403724416.18130.python-list@python.org> <lofciv$nq6$1@dont-email.me> <mailman.11256.1403779201.18130.python-list@python.org> <loh45o$14g$1@dont-email.me>

Show all headers | View raw


Am 26.06.14 14:37, schrieb Christian Gollwitzer:
> Am 26.06.14 12:39, schrieb Peter Tomcsanyi:
>> "Christian Gollwitzer" <auriocus@gmx.de> wrote in message
>> news:lofciv$nq6$1@dont-email.me...
>>> For PNG image support you can load either the Img package which gives
>>> support for a large variety of images, or the smaller tkpng package.
>>
>> My first Google search for
>> "tkpng" "python"
>> gave no usable results. So I am not sure if and how can I use these Tk
>> extensions from Python...
>
>  On my Mac it came with the OS (I
> think); you'll do Tk.eval("package require Img").

Just checked back with my vanilla VM install of Snow Leopard (10.6), 
that the Img package is installed. So doing this package require Img in 
case you detect 8.5 should solve your PNG problem on the Mac (you can do 
"package require Tk" to get the version number). I haven't checked alpha 
channel, though. For the rotated text there is no good solution. Of 
course, pushing people to install 8.6 is better:)

	Christian

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Python 3.4.1 installer on Mac links Python to old Tcl/Tk "Peter Tomcsanyi" <tomcsanyi@slovanet.sk> - 2014-06-24 20:11 +0200
  Re: Python 3.4.1 installer on Mac links Python to old Tcl/Tk Christian Gollwitzer <auriocus@gmx.de> - 2014-06-25 08:58 +0200
    Re: Python 3.4.1 installer on Mac links Python to old Tcl/Tk "Peter Tomcsanyi" <tomcsanyi@slovanet.sk> - 2014-06-25 21:26 +0200
      Re: Python 3.4.1 installer on Mac links Python to old Tcl/Tk Christian Gollwitzer <auriocus@gmx.de> - 2014-06-25 22:48 +0200
        Re: Python 3.4.1 installer on Mac links Python to old Tcl/Tk "Peter Tomcsanyi" <tomcsanyi@slovanet.sk> - 2014-06-26 12:39 +0200
          Re: Python 3.4.1 installer on Mac links Python to old Tcl/Tk Christian Gollwitzer <auriocus@gmx.de> - 2014-06-26 14:37 +0200
            Re: Python 3.4.1 installer on Mac links Python to old Tcl/Tk Christian Gollwitzer <auriocus@gmx.de> - 2014-06-26 20:38 +0200
              Re: Python 3.4.1 installer on Mac links Python to old Tcl/Tk Ned Deily <nad@acm.org> - 2014-06-26 15:29 -0700
            Re: Python 3.4.1 installer on Mac links Python to old Tcl/Tk "Peter Tomcsanyi" <tomcsanyi@slovanet.sk> - 2014-06-27 23:52 +0200

csiph-web