- This topic has 3 replies, 4 voices, and was last updated 9 months, 3 weeks ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Home › Forums › Software Testing Discussions › What are modules and packages in Python?
Hi, I want to know What are modules and packages in Python
Module: The module is a simple Python file that contains collections of functions and global variables and with having a .py extension file. It is an executable file and to organize all the modules we have the concept called Package in Python
Regards, Nick Cooper. Develux
A module is a file containing Python code.
A package is like a directory containing modules and sub-packages.
Hi, the differences between Python modules and packages can be explained in the following way:
Hope, it was helpful. Kyle Hostile, Mbicycle