Import "browser" could not be resolved #2446
Answered
by
PierreQuentel
thewh1teagle
asked this question in
Q&A
-
I use Brython inside Also, how can I print javascript object from Brython in a way that the console will show it as object and not as the string |
Beta Was this translation helpful? Give feedback.
Answered by
PierreQuentel
May 22, 2024
Replies: 1 comment 1 reply
-
The first point has been discussed in issue #1938. Support is possible but no one seems to want to write the code for it. For the second one: from browser import window, console
console.log(window.js_obj) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
thewh1teagle
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The first point has been discussed in issue #1938. Support is possible but no one seems to want to write the code for it.
For the second one: