Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
6016 Visualizzazioni

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
Abbandona
Risposta migliore

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

Avatar
Abbandona

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

Autore

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

Post correlati Risposte Visualizzazioni Attività
2
ago 25
2626
1
lug 25
1018
1
ago 25
1151
0
mag 25
1476
2
apr 25
3625