Re: Import functions in current namespace

2009-01-15 Thread Markus Schreyer
Wow.. :) I think this is one kind of a stupid question.. ;) Anyway.. thanks a lot.. :) -- http://mail.python.org/mailman/listinfo/python-list

Re: Import functions in current namespace

2009-01-15 Thread Chris Rebert
On Thu, Jan 15, 2009 at 2:35 PM, Markus Schreyer wrote: > Hi, > we embedded python into our application via Swig. Now we like to wrap the > raw API functionality into a nicer more handleable module, but instead of > repeating every function in this wrapper i thought about importing them into > the

Import functions in current namespace

2009-01-15 Thread Markus Schreyer
Hi, we embedded python into our application via Swig. Now we like to wrap the raw API functionality into a nicer more handleable module, but instead of repeating every function in this wrapper i thought about importing them into the namespace of the wrapper module. I like to give you an example of