Re: locale support and 4.10

2005-03-06 Thread Hye-Shik Chang
On Sat, 05 Mar 2005 15:42:23 +1000, Timothy Smith <[EMAIL PROTECTED]> wrote: > i'm trying to setlocale() on 4.10, and it appears the python package > doesn't support this under 4.10. > > Python 2.3.3 (#2, Apr 28 2004, 22:48:37) > [GCC 2.95.4 20020320 [FreeBSD]] on freebsd4 > Type "help", "copyrigh

Re: Possible to import a module whose name is contained in a variable?

2005-03-06 Thread Hye-Shik Chang
On 6 Mar 2005 21:34:08 -0800, Steven Reddie <[EMAIL PROTECTED]> wrote: > Hi, > > I want to do something like the following, which doesn't work: > > modulename = 'module' > import modulename > > The error is that there is no module named 'modulename'. Is there a > way to get that variabl