0

In Python, how to print, an Alert Box ?

Hello. I'm a beginner in Python. How to print, an Alert Box ? Like in Java Script, the option "alert" For example, in Java Script: alert ("Hello") How do I get, the same result, an Alert Box, with the text "Hello", in Python language ? Thanks.

3rd Aug 2019, 5:07 PM
Adrian
3 Antworten
+ 2
You cannot do this in SoloLearn’s Python Emulator. But by using Brython in the web emulator you can do, from browser import alert alert(“Hello”) https://code.sololearn.com/Wz6SCRA2RLRY/ https://code.sololearn.com/WNEEjS33704P/
3rd Aug 2019, 6:26 PM
SpaceJunk
SpaceJunk - avatar
0
Thanks Space Junk, for your good and quick answer
3rd Aug 2019, 6:38 PM
Adrian
0
No problem! 😀😃
3rd Aug 2019, 6:46 PM
SpaceJunk
SpaceJunk - avatar