New tag on double-clicking to run Python scripts #224
Labels
area: tags
Related to the @Python bot's tags
meta: duplicate
This issue or pull request already exists
status: actionable
A staff member needs to action this issue
Tag Name
double-click-to-run
What kind of content should the tag include?
A common question from beginners just starting out is "Why does my program instantly close when I open them?", which occurs because they double-click a Python script to run it rather than running it from a command line or IDE.
This tag could explain this behavior and contain instructions on how to run the script from a command line instead.
I also considered including the quick and dirty solution of appending
input()
to the script, but decided against it as it is just a workaround that does not solve the issue.The text was updated successfully, but these errors were encountered: