How to tell python import modules automatically when use the -c option?
<p>I write this command to test a regex very ofter:</p>

<pre><code>$ python -c 'import re; print(re.sub("e", "E", "hello"))'
hEllo
</code></pre>

<p>The problem is that when I import multiply modules, command becomes longer and longer.<br>
If I can config python to <code>import re; import XXX; import YYY;</code> automatically,<br>
the command becomes much shorter:  </p>

<pre><code>$ python -c 'print(re.sub("e", "E", "hello"))'
</code></pre>
