<div>Thanks Alan and Kent ...Its much clearer now.</div>
<div>Any tutorial/reference you recommend to read about python modules?</div>
<div> </div>
<div>Thanks</div>
<div>G<br><br></div>
<div class="gmail_quote">On Mon, Jun 16, 2008 at 5:08 PM, Kent Johnson <<a href="mailto:kent37@tds.net">kent37@tds.net</a>> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="Ih2E3d">On Mon, Jun 16, 2008 at 4:38 PM, Guess?!? <<a href="mailto:wtfwhoami@gmail.com">wtfwhoami@gmail.com</a>> wrote:<br><br>> Also once we reload the module .... every value reverts to its original<br>
> value .. Am I Right?<br><br></div>Yes, but maybe not in the way you think. A new copy of the module will<br>be loaded and bound to the name 'eli'. But the names x, y and<br>printValues, which are bound to values in the old copy of the module,<br>
will not change.<br><br>So if, after all your above manipulations, you<br>import eli<br>reload(eli)<br><br>you will see that x, y and printValues have the same values as before,<br>but eli.x and eli.y will be restored to the original values.<br>
<font color="#888888"><br>Kent<br></font></blockquote></div><br>