Intersesting Questions involving extending and embedding

Fredrik Lundh fredrik at pythonware.com
Wed Feb 28 02:18:20 EST 2001


"Dev_NuLL" wrote:
> I would like to create a primitives module to create 3D solids I would
> like to wrap the above code (or similar) into a module and call it
> 'Primitives' with a 'plane' function so my code would look like:
>
> import Blender
> import Primitives
> Primitive.plane()

umm.  any reason you cannot just put your code in a
Primitives.py file?

    http://www.python.org/doc/current/tut/node8.html

Cheers /F





More information about the Python-list mailing list