Python's import: why doesn't it work?

Mahesh Padmanabhan news at nospam.eml.cc
Sun Sep 29 12:55:47 EDT 2002


You need to create an empty file called __init__.py inside the
template directory and call the blah.py script as follows:

import template.blah


jhorneman at pobox.com (Jurie Horneman) writes:

[snip]

-- 
Mahesh Padmanabhan

-------

Replace nospam with prana to email me.



More information about the Python-list mailing list