[PEAK] [AddOn] conceptual thinkings
c.buhtz at posteo.jp
c.buhtz at posteo.jp
Sat Dec 19 11:24:50 EST 2015
I try to understand the AddOn package for Python3 and think about if
this would be a solution for my very simple problem or if it is a
little bit to much.
I have a simple script opening a zip-file an "doing something" on each
file in there. Thats it. What is done there should be specified by a
AddOn/PlugIn.
Currently I just have some functions in my code like this:
def do_X()
def do_Y()
def do_Z()
and I simply assign their names to my main-function in the same py-file.
do = do_Y
do()
I want to call my script like that
:/myscript.py file.zip --addon MyY
What would you suggest?
--
GnuPGP-Key ID 0751A8EC
More information about the PEAK
mailing list