path='/Applications/MAMP/htdocs/python/day04model/'
import sys
import os
sys.path.append(path)
import test01_mdpython
test01_md.func1()app
print(os.name)code
print(os.getcwd())rem
print(os.listdir())get
os.chdir('')cmd
os.remove('.py')it
n=os.path.split('/Applications/MAMP/htdocs/python/day04model/test01_md.py')
print(n)io
print(os.path.exists('/Applications/MAMP/htdocs/python/day04model/test01_md.py'))
print(os.path.exists('/Applications/MAMP/htdocs/python/day04model'))test
import sys list1= sys.version list2= sys.path