21 lines
527 B
Python
21 lines
527 B
Python
# -*- encoding:utf-8 -*-
|
|
from __future__ import print_function
|
|
from __future__ import division
|
|
|
|
# 不要在abupy之外再建立包结构
|
|
# noinspection PyUnresolvedReferences
|
|
import widget_base
|
|
|
|
|
|
def show_ui():
|
|
with widget_base.show_ui_ct() as go_on:
|
|
if not go_on:
|
|
return
|
|
|
|
import abupy
|
|
# check_cn=False因为上文已经check了
|
|
abupy.env.enable_example_env_ipython(check_cn=False)
|
|
from abupy import WidgetQuantTool
|
|
widget = WidgetQuantTool()
|
|
return widget()
|