Module name conflict with standard library

Felix Wiemann Felix.Wiemann at gmx.net
Sat Sep 4 20:41:35 EDT 2004


Hi!

I want to create a module myproject.ui.curses, which needs to import the
curses library.

However, if I just write ``import curses``, the module imports *itself*
instead of the standard library's curses module.

Is there any (reliable) way to access a module of the standard library
if the names conflict as in this case?

Thank you in advance,
Felix Wiemann

-- 
http://www.ososo.de/



More information about the Python-list mailing list