some littel change
This commit is contained in:
沈瑗杰 2021-01-24 18:26:56 +08:00
parent c7cd8c7d8a
commit b6c9ad28af
15 changed files with 31 additions and 26 deletions

View File

@ -4,7 +4,7 @@ mail: 3695888@qq.com
""" """
import pyglet import pyglet
import libs import bin
import sys import sys
import os import os

View File

@ -5,3 +5,4 @@ mail: 3695888@qq.com
# import folders # import folders
# import in this forder # import in this forder
import orbit_demo

14
bin/__init__.py Normal file
View File

@ -0,0 +1,14 @@
"""
writen by shenjackyuanjie
mail: 3695888@qq.com
"""
# import folders
import Game_threads
# import in this forder
import main
import tools
import client
import server
import configs
import delivery

View File

@ -1,7 +0,0 @@
"""
writen by shenjackyuanjie
mail: 3695888@qq.com
"""
# import folders
# import in this forder

17
test.py
View File

@ -3,8 +3,7 @@ writen by shenjackyuanjie
mail: 3695888@qq.com mail: 3695888@qq.com
""" """
import libs import bin
A = [2.573, 3, ["m", "kg"], ["N", "s"]] A = [2.573, 3, ["m", "kg"], ["N", "s"]]
B = [2.45, -7, ["N", "kg"], ["m", "s"]] B = [2.45, -7, ["N", "kg"], ["m", "s"]]
@ -16,20 +15,18 @@ print("B = " , B)
print("C = ", C) print("C = ", C)
print("D = ", D) print("D = ", D)
a = libs.P_C.S_N_M(A, B) a = bin.tools.S_N_M(A, B)
b = libs.P_C.S_N_D(A, B) b = bin.tools.S_N_D(A, B)
c = libs.P_C.S_N_M(b, B) c = bin.tools.S_N_M(b, B)
d = libs.P_C.S_N_D(a, B) d = bin.tools.S_N_D(a, B)
print("A × B = ", a) print("A × B = ", a)
print("A ÷ B = ", b) print("A ÷ B = ", b)
print("A × B ÷ B = ", c) print("A × B ÷ B = ", c)
print("A ÷ B × B = ", d) print("A ÷ B × B = ", d)
e = libs.P_C.S_N_M(A, B, C, D) e = bin.tools.S_N_M(A, B, C, D)
f = libs.P_C.S_N_M(A,libs.P_C.S_N_M(B,libs.P_C.S_N_M(C, D))) f = bin.tools.S_N_M(A, bin.tools.S_N_M(B, bin.tools.S_N_M(C, D)))
print("A * B * C * D = ", e) print("A * B * C * D = ", e)
print("A * B * C * D = ", f) print("A * B * C * D = ", f)
G = libs.render_thread