<div>Thanks Brett.</div>
<div>I have been able to do initmain() now. </div>
<div>However, if I do "import sys" from the python prompt I still get</div>
<div> </div>
<div><font face="courier new,monospace">ImportError: __import__ not found</font></div>
<div><font face="arial,helvetica,sans-serif">I am not sure where the initialization is going wrong for this error to show up.</font></div>
<div>Can someone please help.</div>
<div> </div>
<div> </div>
<div> </div>
<p><font face="courier new,monospace"> </font></p>
<div><br><br></div>
<div class="gmail_quote">On Mon, Jul 7, 2008 at 2:15 PM, Brett Cannon <<a href="mailto:brett@python.org">brett@python.org</a>> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On Mon, Jul 7, 2008 at 1:48 PM, Pree Raj <<a href="mailto:priyarp.tech@gmail.com">priyarp.tech@gmail.com</a>> wrote:<br>
[SNIP]<br>
<div class="Ih2E3d">> Also, I would like to know which are the MUST HAVE built in modules to be<br>> included for normal working of my ported version of Python.<br><br></div>You can look at sys.builtin_module_names to see what CPython compiles<br>
in. Otherwise you just have to go based on what error messages say. =)<br><font color="#888888"><br>-Brett<br></font></blockquote></div><br>