-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python REPL stacktrace #56
Comments
This code works well on normal compiler but doesn't work on android. `import subprocess code = "import numpy as np\nprint(1/0)" # Example code with a division by zero error python_executable = sys.executable # Get the path to the current Python interpreter try: It shows "[Errno 13] Permission denied:" |
|
Is it possible to directly run a file and get it's stacktrace? I see a function "runProgram" is available but is it possible to get the |
Working on that: flet-dev/flet#2352 |
Thank you! :) |
Hi, and if i put |
Hi,
Is it possible to get full stacktrace of exception in python REPL flask example code. Right now the code is like this
`class PythonRunner:
__globals = {}
__locals = {}
I've managed to get the full stacktrace but is it possible to exclude the info about the main.py file in the stacktrace?

I want the stacktrace to look like the code was run from a file on a command line.
The text was updated successfully, but these errors were encountered: