git.cweiske.de
/
enigma2.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch 'master' into obi/master
[enigma2.git]
/
lib
/
python
/
Tools
/
Import.py
1
def my_import(name):
2
mod = __import__(name)
3
components = name.split('.')
4
for comp in components[1:]:
5
mod = getattr(mod, comp)
6
return mod