# c:\python\hello.pydef hello(): print "Hello, world!"def test(): hello()if __name__ == '__main__': test()# main.pysys.path.append('c:/python')import hellohello.hello()