What might cause my sample program to forget that already imported datetime?
On Mon, Oct 12, 2020 at 9:58 PM Abdur-Rahmaan Janhangeer
<arj.python at gmail.com> wrote:
> Btw why a datetime in datetime?
> It causes much confusion. I dont know
> the design decision behind, if someone knows, it might be good to explain
There are quite a few modules that have one "most obvious" entrypoint,
and there's really no better name for either that thing or the module
it lives in. The pprint module has a pprint function, giving the same
This is yet another reason that "from MODULE import *" is a bad idea.
Instead, just import the module itself, and take whatever you need.