2021-02-16 11:35:10 +08:00
|
|
|
"""
|
2020-11-28 15:17:44 +08:00
|
|
|
writen by shenjackyuanjie
|
|
|
|
mail: 3695888@qq.com
|
2021-02-16 11:35:10 +08:00
|
|
|
"""
|
2020-11-28 15:17:44 +08:00
|
|
|
|
2021-03-24 23:37:10 +08:00
|
|
|
hi = """Difficult Rocket is writen by shenjackyuanjie
|
|
|
|
mail: 3695888@qq.com or shyj3695888@163.com
|
|
|
|
QQ: 3695888"""
|
2020-12-05 21:24:54 +08:00
|
|
|
|
2021-05-24 22:28:42 +08:00
|
|
|
import os
|
|
|
|
import sys
|
|
|
|
|
|
|
|
## TODO 默认位置配置文件+可自定义工作路径
|
|
|
|
|
|
|
|
print("sys.path[0] = ", sys.path[0])
|
|
|
|
print("sys.argv[0] = ", sys.argv[0])
|
|
|
|
print("__file__ = ", __file__)
|
|
|
|
print("os.path.abspath(__file__) = ", os.path.abspath(__file__))
|
|
|
|
print("os.path.realpath(__file__) = ", os.path.realpath(__file__))
|
|
|
|
print("os.path.dirname(os.path.realpath(__file__)) = ",
|
|
|
|
os.path.dirname(os.path.realpath(__file__)))
|
|
|
|
print("os.path.split(os.path.realpath(__file__)) = ",
|
|
|
|
os.path.split(os.path.realpath(__file__)))
|
|
|
|
print("os.path.split(os.path.realpath(__file__))[0] = ",
|
|
|
|
os.path.split(os.path.realpath(__file__))[0])
|
|
|
|
print("os.getcwd() = ", os.getcwd())
|
|
|
|
|
2021-02-16 11:35:10 +08:00
|
|
|
if __name__ == '__main__':
|
2021-03-24 23:37:10 +08:00
|
|
|
from bin import main
|
2021-04-03 12:15:24 +08:00
|
|
|
|
2021-03-24 23:37:10 +08:00
|
|
|
print(hi)
|
2021-02-14 19:03:36 +08:00
|
|
|
game = main.Game()
|
2021-05-24 22:28:42 +08:00
|
|
|
game.start()
|