How to modules? In python
YvngBashit (17)

So I have been learning python and what interests me the most are modules. But the problem is I don't know how to use them?

You are viewing a single comment. View All
ash15khng (729)

Modules are basically allowing code from other files being used in another file. For example: import time imports the time module, allowing all of the functions in time to be used. To use a function from a module when you import a module as import modulename, use modulename.functionname(arg1, arg2="abcdefg")