kivyblocks/test/script/main.py

13 lines
332 B
Python
Raw Normal View History

2022-08-29 20:59:26 +08:00
from kivyblocks.setconfig import config_set
2022-08-25 21:00:09 +08:00
from kivyblocks.blocksapp import BlocksApp
from kivyblocks.blocks import registerWidget, Blocks
import kivyblocks.register
2022-08-29 20:59:26 +08:00
from kivyblocks.script import set_script_env
2022-08-25 21:00:09 +08:00
class ScriptApp(BlocksApp):
pass
if __name__ == '__main__':
2022-08-29 20:59:26 +08:00
set_script_env('userid', 'testuser')
2022-08-25 21:00:09 +08:00
ScriptApp().run()