Re: python modules

2007-07-13 Thread Mike Meyer
On Fri, 13 Jul 2007 22:34:20 +0200 "Mathieu Prevot" <[EMAIL PROTECTED]> wrote: > 2007/7/13, Mike Meyer <[EMAIL PROTECTED]>: > > On Fri, 13 Jul 2007 21:12:33 +0200 "Mathieu Prevot" <[EMAIL PROTECTED]> > > wrote: > > > 2007/7/13, Mathieu Prevot <[EMAIL PROTECTED]>: > > > > I learn that modules loade

Re: python modules

2007-07-13 Thread Joseph Koshy
mp> I copied libpmc.so and tryed 'import libpmc'. I have: mp> ImportError: dynamic module does not define init function (initlibpmc) mp> Are we really far from having a libpmc module ? You may want to browse the following articles in Python's documentation set: "Extending and Embedding the P

Re: python modules

2007-07-13 Thread Mathieu Prevot
2007/7/13, Mike Meyer <[EMAIL PROTECTED]>: On Fri, 13 Jul 2007 21:12:33 +0200 "Mathieu Prevot" <[EMAIL PROTECTED]> wrote: This apparently got redirected without sufficient context, so I'm guessing. I forgot to cc to hackers. > 2007/7/13, Mathieu Prevot <[EMAIL PROTECTED]>: > > I learn that m

Re: python modules

2007-07-13 Thread Mathieu Prevot
2007/7/13, Mathieu Prevot <[EMAIL PROTECTED]>: I learn that modules loaded with import fall into 4 general categories: - code written in Python (.py) - C or C++ extensions that have been compiled into shared libraries (or DLLs) - Packages containing collection of modules - Built-in modles writen