Skip to content

Commit 27c540c

Browse files
committed
0.28
1 parent fa9dd68 commit 27c540c

File tree

2 files changed

+33
-2
lines changed

2 files changed

+33
-2
lines changed

binpythonfull.py

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
####################################
1010
#build configure
1111

12-
ver="0.25-devbuild-full"
12+
ver="0.28-dev-full"
1313

1414
libs_warning="1"
1515
#1 is ture 0 is false.
@@ -257,6 +257,7 @@ def show():
257257
tk.Button(master, text="Run", width=10, command=show).grid(row=3, column=0, sticky="w", padx=10, pady=5)
258258
tk.Button(master, text="EXIT", width=10, command=master.quit).grid(row=3, column=1, sticky="e", padx=10, pady=5)
259259
master.mainloop()
260+
sys.exit()
260261
if opt_name in ('-p','--plus'):
261262
serverport = input("Please enter server port(like 8080): ")
262263
import pywebio.input
@@ -403,4 +404,33 @@ def examplerequests():
403404
print("Powered by: BINPython[https://github.com/xingyujie/binpython] AGPL 3.0")
404405
except:
405406
binpython_welcome_text()
406-
binpython_shell()
407+
try:
408+
f = open("binpython_debug",encoding = "utf-8")
409+
print("Debug mode:on")
410+
print("BINPython debug INFO")
411+
#coding=utf-8
412+
413+
def TestPlatform():
414+
import platform
415+
print(platform.python_version())
416+
print(platform.architecture())
417+
print(platform.node())
418+
print(platform.platform())
419+
print(platform.processor())
420+
print(platform.python_build())
421+
print(platform.python_compiler())
422+
print(platform.python_implementation())
423+
print(platform.python_revision())
424+
print(platform.release())
425+
print(platform.system())
426+
print(platform.version())
427+
print(platform.uname())
428+
TestPlatform()
429+
except:
430+
binpython_welcome_text()
431+
try:
432+
filename = open("startupfile.conf",encoding = "utf-8")
433+
startupcode = open(filename.read(),encoding = "utf-8")
434+
exec(startupcode.read())
435+
except:
436+
binpython_shell()

buildwin.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
@ECHO OFF
12
pyinstaller binpythonfull.spec

0 commit comments

Comments
 (0)