When a python program named 'main.py' runs, it will write some data to number.txt file. And I'll import that number.txt file in flutter and use data in it.
What I want is make my flutter code can run python program. I thought about run the python program through cmd, but the function print in flutter doesn't look like proper. So how can I do that?
Thank you for reading, and I'll wait for your advice!
Try checking this plugin. May be it should work for you.
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.