#author F
import os
import sys
print(__file__) #相对路径
print(os.path.abspath(__file__)) #绝对路径
print(os.path.dirname(os.path.abspath(__file__)))
print(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
BASE_PATH = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.append(BASE_PATH)
from conf import settings
from core import main
main.sayHello()包的引入(base版本)
最新推荐文章于 2024-04-07 20:06:56 发布
1670

被折叠的 条评论
为什么被折叠?



