Skip to content

Commit

Permalink
add many things
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwardLab committed Aug 28, 2022
1 parent c5d7488 commit 8b415b7
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 12 deletions.
19 changes: 12 additions & 7 deletions binpython_plugin/function.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
#base info
print("aaaaa")
def simpleplugin():
print("Hi, BINPython")
binpython_plugin_name("Example BINPython Plugin")
binpython_plugin_anthor("BINPython")
binpython_plugin_description("A simple BINPython plugin Example")
binpythonplugin.name("BINPython demo plugin")
binpythonplugin.anthor("Edward")
binpythonplugin.description("Simple BINPython example")

import os
class binpython_demo():
def hello():
print("hello BINPython")
def linuxuname():
os.system("uname -a")
def winver():
os.system("winver")
2 changes: 1 addition & 1 deletion binpython_plugin/pluginconfig.binpython
Original file line number Diff line number Diff line change
@@ -1 +1 @@
binpython_plugin_loadmain("function.py")
binpythonplugin.loadmain("function.py")
4 changes: 1 addition & 3 deletions binpythonfull.py
Original file line number Diff line number Diff line change
Expand Up @@ -605,10 +605,8 @@ def showinfo():
print("Plugin Name: " + plugin_name)
print("Plugin Anthor: " + plugin_anthor)
print("Plugin description: " + plugin_description)


plugin_loadmain = ''
def binpython_plugin_loadmain(key):
def loadmain(key):
global plugin_loadmain
plugin_loadmain = key
#binpython_plugin_loadmain("function.py")
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
pygame
pyinstaller
pywebio
torondo
tornado
xlrd

0 comments on commit 8b415b7

Please sign in to comment.