WangWeimin

Results 45 comments of WangWeimin

Just wrap your script code with a function, and use the following code to start your script: ``` while True: app() act = actions(buttons=["Restar", "Exit"]) if act=="Exit": break ```

It seems the theta data is wrong in figurewidget: ![image](https://user-images.githubusercontent.com/8682073/188399010-d6e3a7e6-12b9-469b-9bf1-4136ac516d12.png) But the figure attributes of FigureWidget is correct: ![image](https://user-images.githubusercontent.com/8682073/188399308-faaea298-4958-4968-b49a-77857fc687db.png)

@SavSanta HTML5 `audio` does support mp3, see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio @mlakshmi22 There is a `put_audio()` added to pywebio battery, see https://pywebio.readthedocs.io/en/latest/battery.html#pywebio_battery.put_audio

`pin.put_file_upload()` is supported in pywebio dev version, and will be released to stable version soon. dev doc: https://pywebio.readthedocs.io/en/dev/pin.html#pywebio.pin.put_file_upload

最近的几个版本的pywebio有几个相关的修复,可以尝试升级一下pywebio版本