+ 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++
14 odpowiedzi
+ 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 :)
+ 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.
+ 1
Can I use it in sololearn
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.
0
short answer: no
long answer: yes, use Qt library
0
Ok
0
But how can I learn Qt library
0
Thanks
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
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
0
Okay, this would be a minimal setup for alert with Python on Sololearn:
https://code.sololearn.com/Wuc68F71uF8o/?ref=app
0
https://learn.microsoft.com/fr-FR/windows/uwp/cpp-and-winrt-apis/author-events
C++
- 1
I am not able to understand what you are saying