Namespaces

Graeme Matthew graeme.matthew at unite.com.au
Tue Apr 16 06:52:29 EDT 2002


Hi, there can someone help, im currently designing an object model using
Python OO to feed my scripts for a management system

ive got an issue with namespaces

I have a basic Template class and the only way for me to instantiate it is
as follows:

#! C:\\python22\\python.exe

import sys

sys.path.append('C:\\www\\classes')
import Template

template = Template.Template()

print "done"

I cannot get it to instantiate like

template = Template()

any help would be nice thanks






More information about the Python-list mailing list