> Unfortunately I have not been able to
> work out how to get the imports to work.
>
> import config_script obviously doesn't work and __import__(config_script)
> works from the python interpreter but fails in the script (ImportError:
> Import by filename is not supported.)

You can use this:

exec("import " + module_name)
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to