On 2024-02-16 20:07, Gabor Urban via Python-list wrote:
Hi guys,

I need something about modules to be clarified.

Suppose I have written a module eg: ModuleA which imports an other
module, let us say the datetime.

If I import ModuleA in a script, will be datetime imported automatically?

Yes. When a module is imported it can import other modules.
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to