+3 votes
in Class 11 by kratos

Explain reload)) Function.

1 Answer

+1 vote
by kratos
 
Best answer

When the module is imported into a script, the code in the top-level portion of a module is **** only once.Therefore, if you want to re-*** the top -level code in a module, you can use the reload() function.

The reload() function imports a previously imported module again. The syntax of the reload)) function is this :

reload (module_name)

...