What might cause my sample program to forget that already imported datetime?
On 10/12/20 7:20 AM, Chris Angelico wrote:
> This is yet another reason that "from MODULE import *" is a bad idea.
> Instead, just import the module itself, and take whatever you need.
Or just import the objects that you need;
from datetime import datetime, SYMBOL, etc...
I use Decimal a lot. I would hate to have to write "decimal.Decimal(str)"
Whichever method you use the most important thing is to be consistent as
much as possible.
D'Arcy J.M. Cain
Vybe Networks Inc.
A unit of Excelsior Solutions Corporation - Propelling Business Forward
IM:darcy at VybeNetworks.com VoIP: sip:darcy at VybeNetworks.com
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 236 bytes
Desc: OpenPGP digital signature