[Zope-dev] Reference files in a product folder

Chris McDonough chrism@digicool.com
Sun, 23 Apr 2000 14:15:31 -0400 (EDT)


On Sun, 23 Apr 2000, Morten W. Petersen wrote:
> 
> 
> > This *might* be considered a bug
> > if we were sure that we really, truly wanted to allow images to be methods
> > of zclasses.  But I think for now it's one of those grey areas.
> 
> Hmm, I think it's obvious that this will be required in the future, (when)
> XML,XUL,JS,CSS etc., will (probably) be an integral part of many products.
> 
> Is there maybe an easy way of referencing files when you write products in
> python?

Sure.  Just open() them.