Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
6025 Zobrazení

I'm trying to show by server console the print of a variable or by the chrome developer mode, but I do not know how to do it.
please your support.

Avatar
Zrušit
Nejlepší odpověď

You cannot show any log / print statements of the py file to web browser console.

Avatar
Zrušit

Technically you could by writing a JS function that triggers the PY function and passing the output from the PY function to the JS function, which is then rendered in the console with a console.log message. But yeah, that is total overengineering ;)

Yes, that is the way but yes it needs lots of work, efforts :)

Autor

And then how do you feel, if you want to know the value of a variable, by some calculation error, etc.?

Related Posts Odpovědi Zobrazení Aktivita
2
srp 25
2634
1
čvc 25
1023
1
srp 25
1151
0
kvě 25
1482
2
dub 25
3631