O'Reilly logo
  • You Wang thinks this is interesting:

The key difference is that programs are designed to be run, whereas modules are designed to be imported and used by programs.


Cover of Programming in Python 3: A Complete Introduction to the Python Language, Second Edition


program is a sequence to perform certain task, and module is to share data and functions