On 2024-02-16 20:07, Gabor Urban via Python-list wrote:
I need something about modules to be clarified.Yes. When a module is imported it can import other modules.
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?
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?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 453 |
Nodes: | 16 (2 / 14) |
Uptime: | 19:15:00 |
Calls: | 9,280 |
Files: | 13,515 |
Messages: | 6,071,896 |