<div class="gmail_quote">On Mon, Jun 20, 2011 at 1:26 PM, Chris Angelico <span dir="ltr"><<a href="mailto:rosuav@gmail.com">rosuav@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im">> I'd be inclined toward the second solution if I'm writing all the code<br>
> myself</div></blockquote><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">On Mon, Jun 20, 2011 at 3:21 PM, Florencio Cano <span dir="ltr"><<a href="mailto:florencio.cano@gmail.com">florencio.cano@gmail.com</a>></span> wrote:<br>


</div>I'm with Chris, if the config_scripts are going to be implemented in<br>
Python always, the second solution is better for me as the operative<br>
system is less involved.<br></blockquote></div><br>Thanks for the replies. I would like to use the second method because I plan to implement everything in python. Unfortunately I have not been able to work out how to get the imports to work.<br>

<br>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.)<br><br>