Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder3.xlned.com!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.06; '*not*': 0.07; 'detect': 0.07; 'installed.': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'tcl/tk': 0.09; 'python': 0.11; 'wrote': 0.14; '"python"': 0.16; '10.6.': 0.16; 'png': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'tcl': 0.16; 'usable': 0.16; '(you': 0.16; 'alpha': 0.16; 'extensions': 0.16; 'wrote:': 0.18; 'packages.': 0.19; 'solution.': 0.20; '>>>': 0.22; 'install': 0.23; 'load': 0.23; 'header:User-Agent:1': 0.23; 'package.': 0.24; "haven't": 0.24; 'least': 0.26; 'subject:/': 0.26; 'header:X -Complaints-To:1': 0.27; 'newer': 0.30; 'gives': 0.31; 'cocoa': 0.31; 'img': 0.31; 'though.': 0.31; 'allows': 0.31; 'checked': 0.32; 'python.org': 0.32; 'text': 0.33; 'mac': 0.33; 'problem': 0.35; 'google': 0.35; 'there': 0.35; 'version': 0.36; 'idle': 0.36; 'doing': 0.36; 'charset:us-ascii': 0.36; 'should': 0.36; 'easily': 0.37; 'christian': 0.38; 'to:addr:python-list': 0.38; 'sure': 0.39; 'to:addr:python.org': 0.39; 'either': 0.39; 'received:org': 0.40; 'release': 0.40; 'how': 0.40; 'results.': 0.60; 'solve': 0.60; 'first': 0.61; 'back': 0.62; "you'll": 0.62; 'received:204': 0.75; 'article': 0.77; 'channel,': 0.84; 'installer': 0.84; 'received:204.14': 0.84; 'snow': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Ned Deily Subject: Re: Python 3.4.1 installer on Mac links Python to old Tcl/Tk Date: Thu, 26 Jun 2014 15:29:28 -0700 References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: 204.14.154.233 User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 36 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1403821787 news.xs4all.nl 2883 [2001:888:2000:d::a6]:43079 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:73641 In article , Christian Gollwitzer wrote: > Am 26.06.14 14:37, schrieb Christian Gollwitzer: > > Am 26.06.14 12:39, schrieb Peter Tomcsanyi: > >> "Christian Gollwitzer" 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:) Just a reminder that you should *not* depend on the Apple-supplied Tk 8.5 in OS X 10.6. That was the first release of Cocoa Tk and it has proven to be almost unusable, at least with IDLE and some other Tkinter-based apps. Install a newer Tcl/Tk 8.5.x, like from ActiveTcl, and use a python that links with it, like from the python.org installers. The ActiveTcl installer also installs "teacup" which allows you to easily install additional Tcl packages. -- Ned Deily, nad@acm.org