Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

any python experts out there?



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.







BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org