import question

henk.derudder at barconet.com henk.derudder at barconet.com
Tue May 14 06:00:45 EDT 2002


On Tue, 14 May 2002 12:05:28 +0200, "Guyon Moree" <gumuz at looze.net>
wrote:

>i'm not sure, but i imagine you can list the /lib *.py and dynamicly import
>every available module

Do you mean (sorry, I am quite a newbie to Python) to make list of all
.py files which reside in the lib directory and then to perform a
for-loop on each item in the list to import that item?

>
>just my two cents
>
><henk.derudder at barconet.com> wrote in message
>news:3ce0d9f8.606424437 at news.skynet.be...
>> Hi all,
>>
>> Is there a way to import all possible Python-modules in a module with
>> a single call (or some other small elegant solution)?
>>
>> Regards,
>>
>> Henk
>
>




More information about the Python-list mailing list