python_shell 0.0.1 python_shell: ^0.0.1 copied to clipboard
Python Environment Manager and Executor for dart and flutter
example/python_shell_example.dart
import "package:python_shell/python_shell.dart";
void main() async {
var shell = PythonShell();
await shell.initializeShell();
shell.runString("""
import os
print(os.path.dirname(os.path.realpath(__file__)))
""", onComplete: () { print("finished"); });
}