摘要:/opt/tmp/a.pydef hello(): print "hello from a"/opt/tmp/b.pyimport syssys.path.append("/opt/tmp/a.py")from a import hellohello()output:hello from a
阅读全文
posted @ 2012-01-10 16:35
posted @ 2012-01-10 16:35
posted @ 2012-01-10 11:22