[C++-sig] Creating a python class from c++
James Healey
healeyjames at yahoo.co.uk
Wed Nov 15 22:22:51 CET 2006
Ok got the exception catch working and printing out
the error and stack trace.
ImportError: __import__ not found
Is the error that I am getting.
--- Stefan Seefeld <seefeld at sympatico.ca> wrote:
> James Healey wrote:
>
> > I did have:
> >
> > import MyTest
> >
> > MyTest()
>
> This doesn't look correct. You import a module,
> which can't have a call operator defined. Only
> objects can.
>
> Regards,
> Stefan
>
> --
>
> ...ich hab' noch einen Koffer in Berlin...
> _______________________________________________
> C++-sig mailing list
> C++-sig at python.org
> http://mail.python.org/mailman/listinfo/c++-sig
>
___________________________________________________________
The all-new Yahoo! Mail goes wherever you go - free your email address from your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html
More information about the Cplusplus-sig
mailing list