python_shell 0.0.2 copy "python_shell: ^0.0.2" to clipboard
python_shell: ^0.0.2 copied to clipboard

Python Environment Manager and Executor for dart and flutter

example/python_shell_example.dart

import "package:python_shell/python_shell.dart";
import 'package:python_shell/src/shell_listener.dart';

void main() async {
    var shell = PythonShell();
    await shell.initialize();

    shell.runString("""
import os

print(os.path.dirname(os.path.realpath(__file__)))
""", listener: ShellListener(
    completeCallback: () {
        print("finished");
    }
));
}
11
likes
0
pub points
56%
popularity

Publisher

unverified uploader

Python Environment Manager and Executor for dart and flutter

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

archive, dio, flutter, intl, path

More

Packages that depend on python_shell