File tree Expand file tree Collapse file tree 4 files changed +16
-12
lines changed
Expand file tree Collapse file tree 4 files changed +16
-12
lines changed Original file line number Diff line number Diff line change 1- #base info
2- print ("aaaaa" )
3- def simpleplugin ():
4- print ("Hi, BINPython" )
5- binpython_plugin_name ("Example BINPython Plugin" )
6- binpython_plugin_anthor ("BINPython" )
7- binpython_plugin_description ("A simple BINPython plugin Example" )
1+ binpythonplugin .name ("BINPython demo plugin" )
2+ binpythonplugin .anthor ("Edward" )
3+ binpythonplugin .description ("Simple BINPython example" )
4+
5+ import os
6+ class binpython_demo ():
7+ def hello ():
8+ print ("hello BINPython" )
9+ def linuxuname ():
10+ os .system ("uname -a" )
11+ def winver ():
12+ os .system ("winver" )
Original file line number Diff line number Diff line change 1- binpython_plugin_loadmain ("function.py")
1+ binpythonplugin.loadmain ("function.py")
Original file line number Diff line number Diff line change @@ -605,10 +605,8 @@ def showinfo():
605605 print ("Plugin Name: " + plugin_name )
606606 print ("Plugin Anthor: " + plugin_anthor )
607607 print ("Plugin description: " + plugin_description )
608-
609-
610608 plugin_loadmain = ''
611- def binpython_plugin_loadmain (key ):
609+ def loadmain (key ):
612610 global plugin_loadmain
613611 plugin_loadmain = key
614612#binpython_plugin_loadmain("function.py")
Original file line number Diff line number Diff line change 11pygame
22pyinstaller
33pywebio
4- torondo
4+ tornado
5+ xlrd
You can’t perform that action at this time.
0 commit comments