标签:method search import contain
import module
method 1:
import module_name as module_alias
import module_name,module_name,...
method 2:
from module_name import method_name,method_name,...
import sys #Return a list that contain the module search path print sys.path #Append a path to the module search path sys.path.append("/usr/bin")
本文出自 “Tornado” 博客,谢绝转载!
标签:method search import contain
原文地址:http://tornado0826.blog.51cto.com/11468227/1771771