İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
6015 Görünümler

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
Vazgeç
En İyi Yanıt

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

Avatar
Vazgeç

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

Üretici

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

İlgili Gönderiler Cevaplar Görünümler Aktivite
2
Ağu 25
2624
1
Tem 25
1018
1
Ağu 25
1151
0
May 25
1476
2
Nis 25
3625