[Python]] [Pycharm the same code but a successful run, a run-time error

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/weixin_43769946/article/details/101223796

He wrote a turtle graphics, similar to the previous code to run, but the other is always being given that turtle is not pensize () property.

Later reopen Pycharm, No; eventually run the wrong files deleted, re-create a file, a name changed again, to run successfully.

Suddenly, I want to understand, because the beginning of time I put the name of the file name and turtles modules written in the same, turtle. It can not find the cause.

Guess you like

Origin blog.csdn.net/weixin_43769946/article/details/101223796