Menu

#42 Path problem when importing modules

open
nobody
None
5
2005-10-08
2005-10-08
Anonymous
No

If two themes use the same name for a module
used in their main py file, the module
corresponding to the first theme loaded will be
used by both modules.

For example let's say two widgets have a module
named options.py. Then the user loads widget1,
and widget2, in that order. The main py file in
widget2 will import the options module from
widget1.

Discussion


Log in to post a comment.