spyder,pycharm,idle中查看python源码

通用:
import turtlehelp(turtle)with open(str(turtle.___file___), "r") as f:print(f.read())

pycharm可用CTRL+b

猜你喜欢

转载自blog.csdn.net/qq_41228218/article/details/88086239