python之Turtle函数库

python对函数库的引用方式 1、import <库名> 例如:import turtle 若是须要使用库函数中的函数,须要使用:<库名>.<函数名> 例如: import turtle turtle.fd(100)python 2、from <库名> import <函数名> from <库名> import *, 使用这种方式时,直接使用<函数名> 例如: >>>from turtle im
相关文章
相关标签/搜索