diff --git a/binpython-ideplus.py b/binpython-ideplus.py index f11714a..32486c0 100644 --- a/binpython-ideplus.py +++ b/binpython-ideplus.py @@ -3,41 +3,31 @@ @author xingyujie https://github.com/xingyujie @abstract BINPython main file """ -# BINPython By:XINGYUJIE AGPL-V3.0 LICENSE Release -# Please follow the LICENSE AGPL-V3 -# ide plus version - - +#BINPython By:XINGYUJIE AGPL-V3.0 LICENSE Release +#Please follow the LICENSE AGPL-V3 +#ide plus version #################################### -# build configure - -import ctypes -ver = "0.20-releases" +#build configure -libs_warning = "1" -# 1 is ture 0 is false. -# Changing the value to 0 will close the prompt that the library does not exist +ver="0.20-releases" -releases_ver = "offical-with-ideplus" -importlibs = "os" # Don't use "import xxx" +libs_warning="1" +#1 is ture 0 is false. +#Changing the value to 0 will close the prompt that the library does not exist -# Imported library name, please use "importlibs="" instead of "import " -# Please note: The "importlibs" function does not support loading functions (such as from xxxx import xxxx, if necessary, please write it in the following location. However, please note that this operation may have the risk of error reporting, please report issues or solve it yourself -# xxxxxxxxxxxxxx +releases_ver="offical-with-ideplus" +importlibs="os" #Don't use "import xxx" +#Imported library name, please use "importlibs="" instead of "import " +#Please note: The "importlibs" function does not support loading functions (such as from xxxx import xxxx, if necessary, please write it in the following location. However, please note that this operation may have the risk of error reporting, please report issues or solve it yourself +#xxxxxxxxxxxxxx -# from xxxx import xxxx -# xxxxxxxxxxxxxx -apptitle = "BINPython " + ver +#from xxxx import xxxx +#xxxxxxxxxxxxxx #################################### - - -ctypes.windll.kernel32.SetConsoleTitleW(apptitle) - - +import ctypes +ctypes.windll.kernel32.SetConsoleTitleW("BINPython " + ver) def self_import(name): __import__(name) - - try: self_import(importlibs) except ImportError: @@ -45,32 +35,32 @@ def self_import(name): print("Warning: Custom import library %s does not exist, please check the source code library configuration and rebuild" % importlibs) print("") try: - # base import +#base import import getopt import sys import platform import os -# fix for exit() +#fix for exit() from sys import exit -# import for http_server +#import for http_server import http.server import socketserver -# except ImportError: +#except ImportError: except ImportError: print("Unable to use any library, the program does not work properly, please rebuild") -# gui import +#gui import try: import tkinter import tkinter as tk from tkinter import * import turtle -# warning for gui +#warning for gui except ImportError: if libs_warning == "1": print("Warning: Some GUI (graphical) libraries for BINPython do not exist, such as tkinter and turtle. Because they are not built when they are built. If you need to fix this warning, please complete the support libraries imported in the source code at build time (use pip or build it yourself), if your system does not support these libraries, you can remove or change this hint in the source code and rebuild") print("") -# import math +#import math try: import fractions import cmath @@ -78,10 +68,10 @@ def self_import(name): if libs_warning == "1": print("Warning: Some math or computation libraries for BINPython do not exist, such as fractions and cmath. Because they weren't built when they were built. If you need to fix this warning, please complete the support libraries imported in the source code when building (use pip or build it yourself), if your system does not support these libraries, you can remove or change this prompt in the source code and rebuild") print("") -# rlcompleter -# import for normal +#rlcompleter +#import for normal try: - # str + #str import rlcompleter import array except ImportError: @@ -89,15 +79,13 @@ def self_import(name): print("Warning: Some libraries for functions, data types, etc. for BINPython do not exist, such as rlcomplter and array. Because they weren't built when they were built. If you need to fix this warning, please complete the support libraries imported in the source code when building (use pip or build it yourself), if your system does not support these libraries, you can remove or change this prompt in the source code and rebuild") print("") try: - import filecmp - import tempfile + import filecmp + import tempfile except ImportError: if libs_warning == "1": print("Warning: Some file manipulation libraries for BINPython do not exist, such as filecmp and tempfile. Because they weren't built when they were built. If you need to fix this warning, please complete the support libraries imported in the source code when building (use pip or build it yourself), if your system does not support these libraries, you can remove or change this prompt in the source code and rebuild") print("") -# def - - +#def def help(): print("[*] BINPython Help") print(""" @@ -109,33 +97,29 @@ def help(): -i --idle Open BINPython IDLE Code Editor -p --plus Open BINPython IDE Plus Code Editor(beta) with http web server """) - - -about = "BINPython " + ver + "-" + releases_ver + \ - " By:XINGYUJIE[https://github.com/xingyujie/binpython] AGPL-3.0 LICENSE Release" -# getopt +about = "BINPython " + ver + "-" + releases_ver + " By:XINGYUJIE[https://github.com/xingyujie/binpython] AGPL-3.0 LICENSE Release" +#getopt try: - opts, args = getopt.getopt(sys.argv[1:], '-h-f:-s:-g-i-p-e-v', ['help', 'file=', 'server=', 'gui', 'idle', 'plus', 'example', 'version']) + opts,args = getopt.getopt(sys.argv[1:],'-h-f:-s:-g-i-p-v',['help','file=','server=','gui','idle','plus','version']) except: print("Please check help:") help() print("The parameters you use do not exist or are not entered completely, please check help! ! ! ! !") -for opt_name, opt_value in opts: - if opt_name in ('-h', '--help'): +for opt_name,opt_value in opts: + if opt_name in ('-h','--help'): help() sys.exit() - if opt_name in ('-v', '--version'): - print("BINPython " + ver + "-" + releases_ver + - " By:XINGYUJIE[https://github.com/xingyujie/binpython] AGPL-3.0 LICENSE Release") + if opt_name in ('-v','--version'): + print("BINPython " + ver + "-" + releases_ver + " By:XINGYUJIE[https://github.com/xingyujie/binpython] AGPL-3.0 LICENSE Release") print("Python " + platform.python_version()) exit() - if opt_name in ('-f', '--file'): + if opt_name in ('-f','--file'): file = opt_value - f = open(file, encoding="utf-8") + f = open(file,encoding = "utf-8") exec(f.read()) input("Please enter to continue") sys.exit() - if opt_name in ('-s', '--server'): + if opt_name in ('-s','--server'): server_port = opt_value print(""" PORT = """ + server_port + """ @@ -146,120 +130,45 @@ def help(): print("serving at port", PORT) httpd.serve_forever() """) - if opt_name in ('-g', '--gui'): + if opt_name in ('-g','--gui'): from tkinter import * root = Tk() root.title("Welcome to BINPython") - root.geometry('1600x1300') - text = Text(root, width=35, heigh=15) + root.geometry('600x300') + text =Text(root, width=35, heigh=15) text.pack() text.insert("insert", "BINPython" + about) print(text.get("1.3", "1.end")) #### - text = Label(root, text="Welcome to BINPython" + ver, - bg="yellow", fg="red", font=('Times', 20, 'bold italic')) + text=Label(root,text="Welcome to BINPython" + ver,bg="yellow",fg="red",font=('Times', 20, 'bold italic')) text.pack() - button = Button(root, text="EXIT", command=root.quit) + button=Button(root,text="EXIT",command=root.quit) button.pack(side="bottom") root.mainloop() sys.exit() - def show(): os.system('cls' if os.name == 'nt' else 'clear') print("<<<<<<<<<>>>>>>>>>") exec(e1.get(1.0, END)) - if opt_name in ('-i', '--idle'): + if opt_name in ('-i','--idle'): import tkinter as tk from tkinter import * import os master = tk.Tk() master.title("BINPython IDLE") - + + tk.Label(master, text="Type Code", height=5).grid(row=0) - + e1 = Text(master, - width=150, - height=40,) - + width=150, + height=40,) + e1.grid(row=0, column=1, padx=10, pady=5) - tk.Button(master, text="Run", width=10, command=show).grid( - row=3, column=0, sticky="w", padx=10, pady=5) - tk.Button(master, text="EXIT", width=10, command=master.quit).grid( - row=3, column=1, sticky="e", padx=10, pady=5) + tk.Button(master, text="Run", width=10, command=show).grid(row=3, column=0, sticky="w", padx=10, pady=5) + tk.Button(master, text="EXIT", width=10, command=master.quit).grid(row=3, column=1, sticky="e", padx=10, pady=5) master.mainloop() - - if opt_name in ('-e', '--example'): - examplecodenotice = "Here is the source code:" - examplehelloworld = """ -helloworldnameinput = input("What's your name?") -print("Hello world! Hello BINPython! Hello " + helloworldnameinput) - """ - exampleturtle = """ -from turtle import * -title("BINPython turtle example") -color("red", "yellow") -speed(10) -begin_fill() -for x in range(50): - forward(200) - left(170) -end_fill() -done()""" - exampletkinter = """ -import tkinter as tk -app = tk.Tk() -app.title('BINPython tkinter example') -theLabel = tk.Label(app, text='BINPython Tkinter Example') -theLabel.pack() -app.mainloop()""" - examplerequests = """ -import requests -res = requests.get('http://bing.com') -print(res.text) - """ - examplepywebio = """ -from pywebio import * - -def main(): - name = input.input("what's your name") - output.put_text("Hello BINPython, Hello ", name) - -start_server(main, port=8080, debug=True) - """ - print("BINPython application example") - print("LIST:") - print(""" - 1. Hello World - 2. turtle drawing demo - 3. Tkinter demo - 4. HTTP Requests - 5. PyWebIO demo - """) - - examplenum = input("Enter example number to run(like:1): ") -#do sth - - if examplenum == '1': - exec(examplehelloworld) - print(examplecodenotice) - print(examplehelloworld) - if examplenum == '2': - exec(exampleturtle) - print(examplecodenotice) - print(exampleturtle) - if examplenum == '3': - exec(exampletkinter) - print(examplecodenotice) - print(exampletkinter) - if examplenum == '4': - exec(examplerequests) - print(examplecodenotice) - print(examplerequests) - if examplenum == '5': - exec(examplepywebio) - print(examplecodenotice) - print(examplepywebio) - if opt_name in ('-p', '--plus'): + if opt_name in ('-p','--plus'): serverport = input("Please enter server port(like 8080): ") import pywebio.input from pywebio.input import * @@ -271,56 +180,50 @@ def main(): import os print("______________________________________") print("BINPython WEB IDE STARTED") - # IDE Plus main - + #IDE Plus main def main(): set_env(title="BINPython IDE Plus", auto_scroll_bottom=True) put_html("

BINPython IDE Plus

") put_text('Welcome to BINPython IDE Plus, Please type code', - sep=' ' - ) - toast( - "BINPython IDE Plus is a beta version. May be removed or changed in the future") + sep=' ' + ) + toast("BINPython IDE Plus is a beta version. May be removed or changed in the future") put_text('_______________________', - sep=' ' - ) + sep=' ' + ) res = textarea('BINPython IDE Plus', rows=45, code={ - 'mode': "python", - 'theme': 'darcula' - }) + 'mode': "python", + 'theme': 'darcula' + }) exec(res) toast("Run finished!") put_success("Finished, Please see BINPython Window or Terminal") put_text("Here is the code you wrote") put_code(res, language='python') - savecodefilename = pywebio.input.input( - 'Do you want to save the code you wrote to a file? Enter a filename and save it') + savecodefilename = pywebio.input.input('Do you want to save the code you wrote to a file? Enter a filename and save it') f = open(savecodefilename, 'wb+') f.write(res.encode("utf-8")) toast("Successfully saved") - put_success("The save is successful, and the code is saved to binpython file path" + - " \nThe file name is " + '"' + savecodefilename + '"') + put_success("The save is successful, and the code is saved to binpython file path" + " \nThe file name is " + '"' + savecodefilename + '"') if __name__ == '__main__': - start_server(main, debug=True, host='0.0.0.0', port=serverport) + start_server(main, debug=True, host='0.0.0.0', port= serverport) pywebio.session.hold() -binpywelcome = "BINPython " + ver + "-" + releases_ver + " (Python Version:" + platform.python_version() +")By:XINGYUJIE https://github.com/xingyujie/binpython[Running on " + platform.platform() + " " + platform.version() + "]" -binpynotice = 'Type "about", "help", "copyright", "credits" or "license" for more information.' + + +#main BINPython -# main BINPython -print(binpywelcome) -print(binpynotice) +print("BINPython " + ver + "-" + releases_ver + " (Python Version:" + platform.python_version() + ")By:XINGYUJIE https://github.com/xingyujie/binpython[Running on " + platform.platform() + " " + platform.version() + "]") +print('Type "about", "help", "copyright", "credits" or "license" for more information.') try: while True: - pycmd = input(">>> ") + pycmd=input(">>> ") if pycmd in globals().keys(): print(globals()[pycmd]) continue elif pycmd == 'about': - print( - "BINPython By:XINGYUJIE[https://github.com/xingyujie] AGPL-3.0 LICENSE Release") + print("BINPython By:XINGYUJIE[https://github.com/xingyujie] AGPL-3.0 LICENSE Release") elif pycmd == 'help': - print( - "Type help() for interactive help, or help(object) for help about object.") + print("Type help() for interactive help, or help(object) for help about object.") elif pycmd == 'copyright': print(""" Copyright (c) 2001-2022 Python Software Foundation and BINPython xingyujie(https://github.com/xingyujie/binpython). @@ -349,3 +252,4 @@ def main(): except KeyboardInterrupt: print("EXIT!") sys.exit() + diff --git a/binpythonfull.py b/binpythonfull.py deleted file mode 100644 index 77cd671..0000000 --- a/binpythonfull.py +++ /dev/null @@ -1,293 +0,0 @@ -""" - @header binpython.py - @author xingyujie https://github.com/xingyujie - @abstract BINPython main file -""" -#BINPython By:XINGYUJIE AGPL-V3.0 LICENSE Release -#Please follow the LICENSE AGPL-V3 -#full version -#################################### -#build configure - -ver="0.23-releases-full" - -libs_warning="1" -#1 is ture 0 is false. -#Changing the value to 0 will close the prompt that the library does not exist - - -buildversion = "plus" #plus version and standard version - -releases_ver="offical" + buildversion + "-building" -importlibs="os" #Don't use "import xxx" -#Imported library name, please use "importlibs="" instead of "import " -#Please note: The "importlibs" function does not support loading functions (such as from xxxx import xxxx, if necessary, please write it in the following location. However, please note that this operation may have the risk of error reporting, please report issues or solve it yourself -#xxxxxxxxxxxxxx - -#from xxxx import xxxx -#xxxxxxxxxxxxxx -#################################### -#BINPython function and variable START -def binpython_ver(): - print(ver) - -def binpython_buildversion(): - print(buildversion) - -def binpython_libs_warning(): - print(libs_warning) - -def binpython_releases_ver(): - print(releases_ver) - -def binpython_build_importlibs(): - print(importlibs) - -def setwindowtitle(titlename): - import ctypes - ctypes.windll.kernel32.SetConsoleTitleW(titlename) -def binpythonallconf(): - print("ver: " + ver + " buildversion: " + buildversion + " libs_warning settings:" + libs_warning + " releases full version: " + releases_ver + " custom library that has been build: " + importlibs) -import ctypes - -ctypes.windll.kernel32.SetConsoleTitleW("BINPython " + ver) -def self_import(name): - __import__(name) -try: - self_import(importlibs) -except ImportError: - if libs_warning == "1": - print("Warning: Custom import library %s does not exist, please check the source code library configuration and rebuild" % importlibs) - print("") -try: -#base import - import getopt - import sys - import platform - import os -#fix for exit() - from sys import exit -#import for http_server - import http.server - import socketserver -#except ImportError: -except ImportError: - print("Unable to use any library, the program does not work properly, please rebuild") -#gui import -try: - import tkinter - import tkinter as tk - from tkinter import * - import turtle -#warning for gui -except ImportError: - if libs_warning == "1": - print("Warning: Some GUI (graphical) libraries for BINPython do not exist, such as tkinter and turtle. Because they are not built when they are built. If you need to fix this warning, please complete the support libraries imported in the source code at build time (use pip or build it yourself), if your system does not support these libraries, you can remove or change this hint in the source code and rebuild") - print("") - -#import math -try: - import fractions - import cmath -except ImportError: - if libs_warning == "1": - print("Warning: Some math or computation libraries for BINPython do not exist, such as fractions and cmath. Because they weren't built when they were built. If you need to fix this warning, please complete the support libraries imported in the source code when building (use pip or build it yourself), if your system does not support these libraries, you can remove or change this prompt in the source code and rebuild") - print("") -#rlcompleter -#import for normal -try: - #str - import rlcompleter - import array -except ImportError: - if libs_warning == "1": - print("Warning: Some libraries for functions, data types, etc. for BINPython do not exist, such as rlcomplter and array. Because they weren't built when they were built. If you need to fix this warning, please complete the support libraries imported in the source code when building (use pip or build it yourself), if your system does not support these libraries, you can remove or change this prompt in the source code and rebuild") - print("") -try: - import filecmp - import tempfile -except ImportError: - if libs_warning == "1": - print("Warning: Some file manipulation libraries for BINPython do not exist, such as filecmp and tempfile. Because they weren't built when they were built. If you need to fix this warning, please complete the support libraries imported in the source code when building (use pip or build it yourself), if your system does not support these libraries, you can remove or change this prompt in the source code and rebuild") - print("") -#main BINPython - -def binpython_shell(): - print("BINPython " + ver + "-" + releases_ver + " (Python Version:" + platform.python_version() + ")By:XINGYUJIE https://github.com/xingyujie/binpython[Running on " + platform.platform() + " " + platform.version() + "]") - print('Type "about", "help", "copyright", "credits" or "license" for more information.') - try: - while True: - pycmd=input(">>> ") - if pycmd in globals().keys(): - print(globals()[pycmd]) - continue - elif pycmd == 'about': - print("BINPython By:XINGYUJIE[https://github.com/xingyujie] AGPL-3.0 LICENSE Release") - elif pycmd == 'help': - print("Type help() for interactive help, or help(object) for help about object.") - elif pycmd == 'copyright': - print(""" -Copyright (c) 2001-2022 Python Software Foundation and BINPython xingyujie(https://github.com/xingyujie/binpython). -All Rights Reserved. - -Copyright (c) 2000 BeOpen.com. -All Rights Reserved. - -Copyright (c) 1995-2001 Corporation for National Research Initiatives. -All Rights Reserved. - -Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. -All Rights Reserved. -""") - elif pycmd == 'credits': - print(""" -Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands - for supporting Python development. See www.python.org for more information. - """) - elif pycmd == 'license': - print("Type license() to see the full license text") - try: - exec(pycmd) - except Exception as err: - print(err) - except KeyboardInterrupt: - print("EXIT!") - sys.exit() - - -#def -helpinfobase = """ -Usage: binpython [OPTIONS] - -Options: - --h --help View this help --f --file= Enter Python Filename and run (*.py) --s --server= Start a simple web server that supports html and file transfer (http.server) --v --version View BINPython Version --g --gui View GUI About and build info --i --idle Open BINPython IDLE Code Editor -""" -helpinfoplus = """ --p --plus Open BINPython IDE Plus Code Editor(beta) with http web server --e --example Run various code examples through BINPython -""" -about = "BINPython " + ver + "-" + releases_ver + " By:XINGYUJIE[https://github.com/xingyujie/binpython] AGPL-3.0 LICENSE Release" -#getopt -try: - opts,args = getopt.getopt(sys.argv[1:],'-h-f:-s:-g-i-p-v',['help','file=','server=','gui','idle','plus','version']) -except: - print("Please check help:") - help() - print("The parameters you use do not exist or are not entered completely, please check help! ! ! ! !") -for opt_name,opt_value in opts: - if opt_name in ('-h','--help'): - - print(helpinfobase) - print("Standard options") - if buildversion == "plus": - print("Additional options for the plus version") - print(helpinfoplus) - sys.exit() - if opt_name in ('-v','--version'): - print("BINPython " + ver + "-" + releases_ver + " By:XINGYUJIE[https://github.com/xingyujie/binpython] AGPL-3.0 LICENSE Release") - print("Python " + platform.python_version()) - exit() - if opt_name in ('-f','--file'): - file = opt_value - f = open(file,encoding = "utf-8") - exec(f.read()) - input("Please enter to continue") - sys.exit() - if opt_name in ('-s','--server'): - server_port = opt_value - print(""" -PORT = """ + server_port + """ - -Handler = http.server.SimpleHTTPRequestHandler - -with socketserver.TCPServer(("", PORT), Handler) as httpd: - print("serving at port", PORT) - httpd.serve_forever() -""") - if opt_name in ('-g','--gui'): - from tkinter import * - root = Tk() - root.title("Welcome to BINPython") - root.geometry('600x300') - text =Text(root, width=35, heigh=15) - text.pack() - text.insert("insert", "BINPython" + about) - print(text.get("1.3", "1.end")) - #### - text=Label(root,text="Welcome to BINPython" + ver,bg="yellow",fg="red",font=('Times', 20, 'bold italic')) - text.pack() - button=Button(root,text="EXIT",command=root.quit) - button.pack(side="bottom") - root.mainloop() - sys.exit() - def show(): - os.system('cls' if os.name == 'nt' else 'clear') - print("<<<<<<<<<>>>>>>>>>") - exec(e1.get(1.0, END)) - if opt_name in ('-i','--idle'): - import tkinter as tk - from tkinter import * - import os - master = tk.Tk() - master.title("BINPython IDLE") - - - tk.Label(master, text="Type Code", height=5).grid(row=0) - - e1 = Text(master, - width=150, - height=40,) - - e1.grid(row=0, column=1, padx=10, pady=5) - tk.Button(master, text="Run", width=10, command=show).grid(row=3, column=0, sticky="w", padx=10, pady=5) - tk.Button(master, text="EXIT", width=10, command=master.quit).grid(row=3, column=1, sticky="e", padx=10, pady=5) - master.mainloop() - if opt_name in ('-p','--plus'): - serverport = input("Please enter server port(like 8080): ") - import pywebio.input - from pywebio.input import * - from pywebio.output import * - from pywebio import * - from pywebio.session import * - import sys - import subprocess - import os - print("______________________________________") - print("BINPython WEB IDE STARTED") - #IDE Plus main - def main(): - set_env(title="BINPython IDE Plus", auto_scroll_bottom=True) - put_html("

BINPython IDE Plus

") - put_text('Welcome to BINPython IDE Plus, Please type code', - sep=' ' - ) - toast("BINPython IDE Plus is a beta version. May be removed or changed in the future") - put_text('_______________________', - sep=' ' - ) - res = textarea('BINPython IDE Plus', rows=45, code={ - 'mode': "python", - 'theme': 'darcula' - }) - exec(res) - toast("Run finished!") - put_success("Finished, Please see BINPython Window or Terminal") - put_text("Here is the code you wrote") - put_code(res, language='python') - savecodefilename = pywebio.input.input('Do you want to save the code you wrote to a file? Enter a filename and save it') - f = open(savecodefilename, 'wb+') - f.write(res.encode("utf-8")) - toast("Successfully saved") - put_success("The save is successful, and the code is saved to binpython file path" + " \nThe file name is " + '"' + savecodefilename + '"') - if __name__ == '__main__': - start_server(main, debug=True, host='0.0.0.0', port= serverport) - pywebio.session.hold() - -#go main shell -binpython_shell() \ No newline at end of file diff --git a/binpythonfull.spec b/binpythonfull.spec deleted file mode 100644 index 67f9b9a..0000000 --- a/binpythonfull.spec +++ /dev/null @@ -1,41 +0,0 @@ -# -*- mode: python ; coding: utf-8 -*- - - -block_cipher = None -from pywebio.utils import pyinstaller_datas - -a = Analysis(['binpythonfull.py'], - pathex=[], - binaries=[], - datas=pyinstaller_datas(), - hiddenimports=[], - hookspath=[], - hooksconfig={}, - runtime_hooks=[], - excludes=[], - win_no_prefer_redirects=False, - win_private_assemblies=False, - cipher=block_cipher, - noarchive=False) -pyz = PYZ(a.pure, a.zipped_data, - cipher=block_cipher) - -exe = EXE(pyz, - a.scripts, - a.binaries, - a.zipfiles, - a.datas, - [], - name='binpython', - debug=False, - bootloader_ignore_signals=False, - strip=False, - upx=True, - upx_exclude=[], - runtime_tmpdir=None, - console=True, - disable_windowed_traceback=False, - target_arch=None, - codesign_identity=None, - entitlements_file=None, - icon='C:/Users/xingy/Documents/GitHub/binpython/py.ico') diff --git a/binpythonfuncexample.py b/binpythonfuncexample.py deleted file mode 100644 index 6b8d63b..0000000 --- a/binpythonfuncexample.py +++ /dev/null @@ -1,11 +0,0 @@ -print("BINPython() function example") -import time -binpython_ver() -binpython_buildversion() -binpython_libs_warning() -binpython_build_importlibs() -setwindowtitle("Title name(str)") -binpythonallconf() -time.sleep(5) -#main shell -binpython_shell() \ No newline at end of file diff --git a/buildwin.bat b/buildwin.bat index 0ed7fea..db2df9b 100644 --- a/buildwin.bat +++ b/buildwin.bat @@ -1 +1 @@ -pyinstaller --onefile binpythonfull.spec \ No newline at end of file +pyinstaller --onefile binpython-ideplus.spec \ No newline at end of file