The first beta of python 2.5 is getting close (the planned release
date is jun 14th). There have been complaints in the past about the
quality of the Carbon bindings (anything in the Carbon namespace in
python, which includes stuff that isn't actually part of Carbon such
as QuickTime).
It
Hi, I am trying my hand at trying to build a simple image
viewer for embedding into a larger application.
The following code will display images ok on my linux
box running python 2.4.2 and ActiveState Tcl/Tk 8.4.13
The same code crashes before the interface comes up on
my Mac OSX 10.4.6 Aqua TclT
On Jun 10, 2006, at 12:00, Jerry LeVan wrote:
> Hi, I am trying my hand at trying to build a simple image
> viewer for embedding into a larger application.
>
> The following code will display images ok on my linux
> box running python 2.4.2 and ActiveState Tcl/Tk 8.4.13
>
> The same code crashes
Rats, I can't get even the simplest PIL programs to
display...
Here is one...(works fine on my linux box)
from Tkinter import *
import Image,ImageTk
import sys
def main():
filename = sys.argv[1]
root = Tk()
img = ImageTk.PhotoImage(file=filename)
label = Label(root, image
I just posted another example with the dump.
I did not want the app to close since I want to
suck images out of my database and display them
to the user.
Did you build your own Tcl/Tk ( I am using the
oldish 8.4.10 Aqua BI distribution...).
I seem to recall that PIL worked prior to upgrading
to
I forgot to add:
I am running on a "QuickSilver 933MHZ PPC" mac.
Jerry
On Jun 10, 2006, at 6:55 PM, Daniel Lord wrote:
>
> On Jun 10, 2006, at 12:00, Jerry LeVan wrote:
>
>> Hi, I am trying my hand at trying to build a simple image
>> viewer for embedding into a larger application.
>>
>> The fo
I checked the PIL directory and noticed that the dates on the PIL
files looked a bit old.
I went back to pythonmac.org and downloaded the PIL that was
available and all is well now :)
Jerry
On Jun 10, 2006, at 6:55 PM, Daniel Lord wrote:
>
> On Jun 10, 2006, at 12:00, Jerry LeVan wrote:
>
>> Hi
On Jun 10, 2006, at 17:16, Jerry LeVan wrote:
> I checked the PIL directory and noticed that the dates on the PIL
> files looked a bit old.
>
> I went back to pythonmac.org and downloaded the PIL that was
> available and all is well now :)
>
> Jerry
>
Jerry,
The PIL you just got is the one I am