Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
6032 มุมมอง

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.?

Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ส.ค. 25
2637
1
ก.ค. 25
1027
1
ส.ค. 25
1151
0
พ.ค. 25
1483
2
เม.ย. 25
3636