kivyblocks/test/script/main.py
2022-08-29 20:59:26 +08:00

13 lines
332 B
Python

from kivyblocks.setconfig import config_set
from kivyblocks.blocksapp import BlocksApp
from kivyblocks.blocks import registerWidget, Blocks
import kivyblocks.register
from kivyblocks.script import set_script_env
class ScriptApp(BlocksApp):
pass
if __name__ == '__main__':
set_script_env('userid', 'testuser')
ScriptApp().run()