简体   繁体   中英

how to store data entered in TextInput widget into json using kivy and python

谁能告诉我一个如何使用kivy和python将用户输入('TextInput'小部件)数据存储到json中的简单示例。

The Kivy Storage module is probably the easiest way. There's an example of storing strings in the docs. You would just retrieve the string from your TextInput like myinput.text

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM