9 May
2000
9 May
'00
10:19 a.m.
Stephan Richter wrote:
Hey guys,
I just played with PIL on Zope. I used the Poll product to see how it basically works. But now I have the problem that I can't load an Image because there is a module in /App called ImageFile and one in /PIL called ImageFile. Well when I say Image.open(), it always goes to /App/ImageFile.py and not to /PIL/ImageFile.py.
Any suggestions how I can fix that?
I do not have a complete answer, but as far as I recall you'll have to make PIL into a package and import the most relevant modules in the __init__.py This question has come up before, you could try and search the mail archives. hth Rik