콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
6007 화면

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
2619
1
7월 25
1016
1
8월 25
1151
0
5월 25
1474
2
4월 25
3621