python-obfuscator icon indicating copy to clipboard operation
python-obfuscator copied to clipboard

Put functions into dictionaries

Open ghost opened this issue 4 years ago • 0 comments

You could put the functions into dictionaries, small example:

def foo(bar):
    print(bar)

func_dict = {
    'foo': foo
}

func_dict['foo']('Hello world')

ghost avatar Sep 11 '21 13:09 ghost