35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
From: Gaetan_Corneau at baan.com (Gaetan Corneau)
|
|
Date: Fri, 9 Apr 1999 14:18:19 GMT
|
|
Subject: import from user input?
|
|
Message-ID: <816010E2456BD111A48700805FBBE2EEA63EB9@ex-quebec-u1.baan.com>
|
|
X-UID: 748
|
|
|
|
Chris,
|
|
|
|
> >>> globals()[modname] = __import__(modname)
|
|
[GC]
|
|
Exactly what I was looking for. I read about the __import__ function in the
|
|
doc, but I didn't know that I had to assign it that way.
|
|
|
|
> > Another question: is there a function to copy/move entire directory
|
|
> trees?
|
|
> There is a walk function in os.path which makes it
|
|
> an easy exercise to write such a function.
|
|
[GC]
|
|
Thanks a lot, Chris.
|
|
______________________________________________________
|
|
Gaetan Corneau
|
|
Software Developer (System integration Team)
|
|
BaaN Supply Chain Solutions
|
|
E-mail: Gaetan_Corneau at baan.com
|
|
Compuserve: Gaetan_Corneau at compuserve.com
|
|
ICQ Number: 7395494
|
|
Tel: (418) 654-1454 ext. 252
|
|
______________________________________________________
|
|
"Profanity is the one language all programmers know best"
|
|
|
|
|
|
|
|
|
|
|