How to: get list of modules in a package

Dan Perl danperl at
Tue Oct 12 21:40:37 CEST 2004

"Mike C. Fletcher" <mcfletch at> wrote in message 
news:mailman.4767.1097608127.5135.python-list at
> Dan Perl wrote:
>>What a tease!  "It definitely has been done in the past", so there must be 
>>a way, but you're not telling us how you did that!  :-)
> Ah, apparently I wasn't clear enough in my quoted antecedent :) , I was 
> referring to Peter's comment that he'd not seen anyone produce modules 
> 'from "thin air"', rather than to whether this could be solved in the 
> general case.  I was backing him up in his assertion that there's no 
> *general* way to solve the problem, rather than attempting to contradict 
> him :)  (those Canucks get dangerous when contradicted).

Got it now!  And what do you mean "those" Canucks?  From the email address 
you seem to be Canadian too!  Not to mention that I am Canadian!

> If you mean you wanted to know how to do the module-from-thin-air thing, 
> the code for mcf.vrml is available on sourceforge, so it's not like I'm 
> hiding it ;) , but I doubt you'd want to use that particular pattern 
> anymore :) .

No, thanks, that's not what I wanted, and thanks for confirming Peter's 
reply.  I can move on with my own solution.


> Have fun,
> Mike

More information about the Python-list mailing list