تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
6034 أدوات العرض

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
أغسطس 25
2644
1
يوليو 25
1028
1
أغسطس 25
1151
0
مايو 25
1486
2
أبريل 25
3643