jackfrued / jackfrued/Python-100-Days

Day 1 Mac python 调用turtle不出现图形界面直接锁屏

Open
#441 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
187k
Forks
55.8k
PR merge metrics
No merged PRs in 30d

Description

直接复制粘贴了po主画海龟的代码
但是只要调用turtle 库中的库函数 mac就会自动锁屏
无论是终端运行还是pycharm或者spyder
之前在做pacman pj的时候也遇到了类似的问题
我的电脑一旦需要在python里创造图形界面时就会自动锁屏需要重输密码
请问有人跟我有同样的问题吗

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue on macOS with the reported turtle example, running it from the terminal, PyCharm, and Spyder. Compare the behavior with the earlier Pac-Man project and document the Python, macOS, and graphical-environment details needed to identify a reproducible cause.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.