Module name conflict with standard library

Felix Wiemann Felix.Wiemann at gmx.net
Sun Sep 5 02:41:35 CEST 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