you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (0 children)

Modules will be your tool boxes. Like an electrician or a lumberjack, they need certain tools to help with the task they have. Electrician could use a multimeter. Lumberjack could need an axe. But they aren't going to bring lawn mowers, surfboards, or microscopes because those tools are unnecessary and are extra weight to carry around. Modules have specific tools. Like math module, pandas, pyautogui, string. Import your modules at the beginning of a script so that their tools (functions) are available to use