[Chicago] import question

Massimo Di Pierro mdipierro at cs.depaul.edu
Tue Jan 22 23:47:37 CET 2008


> that statement would not be possible without adding
> contrib/__init__.py (I don't see that in your dir structure).  Maybe
> that's all you need?

I have that. I just forgot to mention it.

> separate but related: you probably want to avoid naming top level
> modules the same as stdlib modules.  "test" believe it or not is a
> stdlib module.  It should really be called "test_python" because
> that's what it does but that will never change.  I've taken to naming
> my free-standing test module "tests" and I've noticed most other
> packages do this too.  However, I usually prefer to make test a
> submodule.  That is, myapp.test

This is an example. The actual module is not called test.



More information about the Chicago mailing list