Recently, Im trying to learn how some functions/metods works and why they work like that or for what reason they have certain properties/arguments, and, maybe i’ts because i’m lazy or dont do the properly exhaustive research but I usually depend on an AI to explain that kind of things, and, I’ll like to have a second opinion or a way to search some concrete things without depending always on the same place.
A example would be the quit() method. Why it has this argument " exit_code: int = 0 "?
Why you need an “int” value to a method that close the app?
Maybe I’m plain dumb, but the explanation of the help bar/documentation it isn’t enough… explanatory for me.
There’s some page or youtube channel or whatever that explains this things? For me it will be of great help!
Have a productive day/night and thanks for reading!
That’s the exit status
I don’t think so. You can try using google
1 Like
Thank you, then my search wasn’t good. I looked at exit_code and find what you linked in xD. Thank you for the time and fast answer.