You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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")
103
104
print("")
104
-
#rlcompleter
105
105
#import for normal
106
106
try:
107
107
#str
108
108
importrlcompleter
109
109
importarray
110
+
importxlrd
110
111
exceptImportError:
111
112
iflibs_warning=="1":
112
113
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")
@@ -267,7 +268,6 @@ def show():
267
268
master.mainloop()
268
269
sys.exit()
269
270
ifopt_namein ('-p','--plus'):
270
-
serverport=input("Please enter server port(like 8080): ")
271
271
importpywebio.input
272
272
frompywebio.inputimport*
273
273
frompywebio.outputimport*
@@ -276,19 +276,110 @@ def show():
276
276
importsys
277
277
importsubprocess
278
278
importos
279
+
importwebbrowser
279
280
print("______________________________________")
280
281
print("BINPython WEB IDE STARTED")
282
+
print("""
283
+
Welcome to BINPython IDEPlus!
284
+
The service starts on port 22948 (http), the program will automatically open the browser, if not, please manually open http://localhost:22948 in the browser
285
+
""")
286
+
webbrowser.open("http://localhost:22940")
281
287
#IDE Plus main
282
-
defmain():
288
+
defline():
289
+
put_text('_______________________',
290
+
sep=' '
291
+
)
292
+
defhead():
293
+
set_env(title="BINPython IDE Plus", auto_scroll_bottom=True)
0 commit comments