+ 1

hello there ,My Freinds!! Please don't be angry if I am being foolish..

My doubt is that => How can I give a alert (like in Js) in python or C++

7th Nov 2022, 5:21 AM
Saswat Sahu 8432
Saswat Sahu 8432 - avatar
14 RĂ©ponses
+ 1
Qt is an advanced library and you should be confortable with the basic of the language you want to use first. there is no courses about it here on sololearn but there are plenty of resources and examples on eternal website like youtube. I can't recommend any site but if you just search "Python Qt tutorial" on google, you'll find lots of helpful results. I hope this helps and happy learning :)
7th Nov 2022, 6:05 AM
Apollo-Roboto
Apollo-Roboto - avatar
+ 1
In Python, you could also use tkinter, which comes with your basic Python download. You'll find many tutorials online. There you also can use windows, menus, buttons... and popups too.
7th Nov 2022, 2:10 PM
HonFu
HonFu - avatar
+ 1
Can I use it in sololearn
7th Nov 2022, 2:54 PM
Saswat Sahu 8432
Saswat Sahu 8432 - avatar
0
an alert is a popup given from the browser, so it's not easy to make one in other languages like python or c++. At least, when they are running in the terminal. if you are interrested in making graphical applications, you should have a look at the Qt library, it's availlable on both python and c++. but it's a more advance library.
7th Nov 2022, 5:58 AM
Apollo-Roboto
Apollo-Roboto - avatar
0
short answer: no long answer: yes, use Qt library
7th Nov 2022, 6:00 AM
Apollo-Roboto
Apollo-Roboto - avatar
0
Ok
7th Nov 2022, 6:01 AM
Saswat Sahu 8432
Saswat Sahu 8432 - avatar
0
But how can I learn Qt library
7th Nov 2022, 6:02 AM
Saswat Sahu 8432
Saswat Sahu 8432 - avatar
0
Thanks
7th Nov 2022, 6:14 AM
Saswat Sahu 8432
Saswat Sahu 8432 - avatar
0
On Sololearn, for example you can use "Brython". It allows you to use Python together with HTML and CSS, instead of the usual Javascript. You can see an example here (I also have used alerts, for example for irregular moves): https://code.sololearn.com/W5v76nCjupV7/?ref=app
7th Nov 2022, 4:21 PM
HonFu
HonFu - avatar
0
Thank you But can you give much much simpler code example cause I am not able to understand so much codes Just a simple code
7th Nov 2022, 6:34 PM
Saswat Sahu 8432
Saswat Sahu 8432 - avatar
0
Okay, this would be a minimal setup for alert with Python on Sololearn: https://code.sololearn.com/Wuc68F71uF8o/?ref=app
7th Nov 2022, 9:02 PM
HonFu
HonFu - avatar
0
https://learn.microsoft.com/fr-FR/windows/uwp/cpp-and-winrt-apis/author-events C++
8th Nov 2022, 8:49 AM
Khalifa Bouchelliga
Khalifa Bouchelliga - avatar
- 1
I am not able to understand what you are saying
7th Nov 2022, 5:59 AM
Saswat Sahu 8432
Saswat Sahu 8432 - avatar