啊啊啊
This commit is contained in:
parent
4972766302
commit
2fbbffecac
39
DR-py.jl
Normal file
39
DR-py.jl
Normal file
@ -0,0 +1,39 @@
|
||||
#=
|
||||
DR:
|
||||
- Julia version: 1.7.2
|
||||
- Author: shenjack
|
||||
- Date: 2022-02-19
|
||||
=#
|
||||
|
||||
|
||||
using PyCall
|
||||
|
||||
include("Difficult_Rocket/main.jl")
|
||||
|
||||
HiMessage = """
|
||||
Difficult Rocket is writen by shenjackyuanjie
|
||||
mail: 3695888@qq.com or shyj3695888@163.com
|
||||
QQ: 3695888""" :: String
|
||||
|
||||
|
||||
function py__init__()
|
||||
println(HiMessage)
|
||||
py"""
|
||||
import sys
|
||||
sys.path.append(".")
|
||||
sys.path.append("libs/")
|
||||
"""
|
||||
game = pyimport("Difficult_Rocket.main")
|
||||
Game = game.Game()
|
||||
Game.start()
|
||||
end
|
||||
|
||||
|
||||
|
||||
# print("是否运行py版 y/n")
|
||||
# yesOrNo = readline(stdin)
|
||||
# if yesOrNo == "y"
|
||||
# @timev py__init__()
|
||||
# else
|
||||
@timev GLFW__init__()
|
||||
# end
|
Loading…
Reference in New Issue
Block a user