跳至内容
菜单
此问题已终结
1 回复
5995 查看

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.

形象
丢弃
最佳答案

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

形象
丢弃

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 :)

编写者

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

相关帖文 回复 查看 活动
2
8月 25
2608
1
7月 25
1015
1
8月 25
1151
0
5月 25
1468
2
4月 25
3620