On Friday 16 January 2009 16:13:49 Steven D'Aprano wrote:
> On Fri, 16 Jan 2009 21:34:01 -0800, Eduardo Lenz wrote:
> > modu = "os"
> > exec("from " + modu + " import *")
>
> "from module import *" is generally frowned upon, although it does
> occasionally have its uses.
>
> By the way, I think your computer's clock is set wrong. My newsclient is
> reporting that you sent your post at 4:30pm today -- and I'm writing this
> at 11am. Perhaps your timezone is set wrong?
>
> Regards,
>
>
> --
> Steven
> --
> http://mail.python.org/mailman/listinfo/python-listOK, my point was about the exec statement, not the import * (it was just an example). Well, my clock is OK here..maybe the time zone is wrong. I will check this out. Thanks for the advice. []'s Lenz. -- Eduardo Lenz Cardoso Dr. Eng. Associate Professor State University of Santa Catarina Department of Mechanical Engineering 89223-100 - Joinville-SC - Brasil Tel: +55 47 4009-7971 - Fax: +55 47 4009-7940 E-mail: [email protected] --------------------------------------------- -- Esta mensagem foi verificada pelo sistema de antivĂrus e acredita-se estar livre de perigo. -- http://mail.python.org/mailman/listinfo/python-list
