[Zope] Scoping question (Python scripts)

Evan Simpson evan@digicool.com
Mon, 9 Apr 2001 13:18:51 -0400


From: "Kirby Urner" <pdx4d@teleport.com>
> So is there something about Python classes that they can't
> be defined internally to an ordinary function/script?

They cannot usefully be defined in a Script, and Scripts aren't geared
towards that sort of use.  Defining classes is the sort of thing that
ZClasses and filesystem Products are good for.  There are a number of Howtos
on zope.org that explain how to write simple Products and ZClasses.

What sort of problem are you trying to solve?

Cheers,

Evan @ digicool