[Tutor] Import from project's lib directory?

leam hall leamhall at gmail.com
Thu Aug 28 20:03:03 CEST 2014


python 2.4.3 on Red Hat Linux.

I'm starting a project and want to break the scripts into "input",
"output", and "ddl". I'd like to have a "lib" library directory for
local modules. The library directory would be at the same level as the
others.

How do I get the library modules?

  import '../lib/mymodule'

Fails on syntax.

Thanks!

Leam
-- 
Mind on a Mission


More information about the Tutor mailing list