Python - How to remove/unimport libs was imported before
<p>As we know that, in python 2.x, if we divide two integer values it results in an <code>int</code>. However, if using <code>from __future__ import division</code>, we instead get a <code>float</code> value.</p>

<pre><code>&gt;&gt;&gt; 3/2
1
&gt;&gt;&gt; from __future__ import division
&gt;&gt;&gt; 3/2
1.5
&gt;&gt;&gt; 
&gt;&gt;&gt; 
&gt;&gt;&gt; 3//2
1
&gt;&gt;&gt; 4/3
1.3333333333333333
&gt;&gt;&gt; 
</code></pre>

<p>So, <code>//</code> instead of <code>/</code> should be used if we want integers after importing <code>__future__.division</code>, but I want to know how to make <code>/</code> to return integers again.</p>

<p>Is there any way to un-import or remove the previously imported module?</p>

<hr>

<p>There is a method to unimport libs or Modules in IDLE, that is to <strong>Restart it</strong> by using Ctrl+F6 or Options in Menu</p>
