Reloading modules(Python)

Publicado em: 25 Março 2020
no canal de: Soumyashree Sahoo
800
8

Sometimes a Python program imports a module, but then the source code of the imported module needs to be changed. Since modules are executed only once when imported, changing the module's source does not immediately affect the running Python instance. Instead of restarting the entire Python program, the reload() function can be used to reload and re-execute the changed module. The reload() function is located in the imp standard library module.


Nesta página do site você pode assistir ao vídeo on-line Reloading modules(Python) duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Soumyashree Sahoo 25 Março 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 800 vezes e gostou 8 espectadores. Boa visualização!