TSMaster
TSMaster copied to clipboard
For mini program (python), need to save in variable object
In mini program (python), I import a module and I create a object àf my class. For each callback, I want to call a method of my class. Unfortunatelly I cannot save my object in a variable (only string/int are supported). Would be good to have the possibility to create an object on stat, then save it and reuse the object in any callback
you can use python global var to achieve your requirements