(original) (raw)

Thanks Brett.
I have been able to do initmain() now.
However, if I do  "import sys" from the python prompt I still get
 
ImportError: \_\_import\_\_ not found
I am not sure where the initialization is going wrong for this error to show up.
Can someone please help.
 
 
 

 



On Mon, Jul 7, 2008 at 2:15 PM, Brett Cannon <brett@python.org> wrote:
On Mon, Jul 7, 2008 at 1:48 PM, Pree Raj <priyarp.tech@gmail.com> wrote:
\[SNIP\]
> Also, I would like to know which are the MUST HAVE built in modules to be
> included for normal working of my ported version of Python.

You can look at sys.builtin\_module\_names to see what CPython compiles
in. Otherwise you just have to go based on what error messages say. =)

-Brett