To reload the simple module, you would use the following : Module : Introduction PYTHON TUTORIALS


PYTHON TUTORIALS » Introduction » Module »

 

To reload the simple module, you would use the following


# C:pythonhello.py
print "Hello, world!"


# C:testModule.py

import sys
sys.path.append('c:/python')
import hello
hello = reload(hello)



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo Introduction
» Module