any python experts out there?
Nuno Sucena Almeida
slug-wz5RHecsqBdg9hUCZPvPmw at public.gmane.org
Mon May 14 09:23:29 EDT 2007
Someone already mentioned using the import keyword, but with my C++
programmed python modules I usually follow something like this:
http://www.python.org/doc/essays/packages.html
and
http://boost.org/libs/python/doc/tutorial/doc/html/python/techniques.html
Cheers,
Nuno
On Sun, May 13, 2007 at 04:49:14PM -0400, Stephen Adler wrote:
|
| import mypackage
| AObj=mypackage.A.A()
|
| Thus my object AObj is now of type A, but the name space is uggly. (i.e.
| there is an extra .A in the name space.) How do I avoid this? Or rather,
--
http://aeminium.org/slug
D30B 54C0 40A7 7D61 C44F 4BA4 F071 2168 F494 ACB9
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the Discuss
mailing list