Closing Pygame Window

前端 未结 8 750
不知归路
不知归路 2020-12-31 03:24

I just spent a fair amount of time finding a 64-bit installation of pygame to use with python 3.3, (here) and now am trying to make a window. However, although the window op

8条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-31 03:48

    try using the following command:

    sys.exit(0)

    notice: You will need to import the sys library in order to use it.

提交回复
热议问题