Rob Brown-Bayliss wrote: > module = 'mymod' > import module > > Only, as I found out I get an error stating that there is not module > called module. > > Is this possible in python? Is there a better way perhapse? Use the __import__() builtin function: module = __import__('mymod') -Steve -- Steve Purcell, Pythangelist Get testing at http://pyunit.sourceforge.net/ Any opinions expressed herein are my own and not necessarily those of Yahoo
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4