import question

Guyon Moree gumuz at looze.net
Tue May 14 06:35:57 EDT 2002


i am a newbie too :)

check the reply of Philip Swartzleonard, it's probably more informative.

<henk.derudder at barconet.com> wrote in message
news:3ce0dfef.607951921 at news.skynet.be...
> 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