2 Answers. The simplest way to run python code in flutter is to use chaquopy package , you just need to do configuration and put your code inside Chaquopy. executeCode() method, the best thing about this package is its simplicity and allows users to integrate even python packages.5 Tem 2020