[Zope] How to import a basic class in Script (Python)

Sascha Welter zopelist at betabug.ch
Thu Jul 19 03:15:56 EDT 2007


(Wed, Jul 18, 2007 at 12:26:06PM +0300) Tudor Gabriel wrote/schrieb/egrapse:
> To learn zope I am trying to write a basic library page.
> I wrote a book_py class ... and from search_books_py try to return a
> list of books to show in a ZPT.
> 
> now let's suppose all the files (all the py and zpt files) are in the
> same directory:Library

Please save yourself some time and read 
http://wiki.zope.org/zope2/ZopeStarter
for pointers to valuable information as you start out.


> If there isn't, and i have to make a custom Product for my Book class...
> please give me a basic example of how can i make that.

http://papakiteliatziar.gr/BetaBoring
also the stuff linked from the ZopeStarter page.

Hope this helps!

Regards,

Sascha



More information about the Zope mailing list