开博语:
只所不如人也,唯惰字而已!今反省自身,自当勤勉!
1:安装开发环境 (VS,python3.8, 以及vs的python extension)
vs从官网下载--说明vs的风格以及强大的功能是我的最爱,建议使用这个工具进行python的学习以及开发。
python3.8 从官网下载(注意安装路径,vs要求解释器存放路径)
VS 开源工具中关于如何进行python开发的说明文档,https://code.visualstudio.com/docs/python/python-tutorial
2:GitHub有用的学习材料--python学习路线
https://github.com/jackfrued/Python-100-Days
3:第一个小程序
"""
Author:liyya
我的第一个python程序
"""
import sys
import turtle
print(help(turtle.right))
turtle.pensize(4)
turtle.pencolor('red')
turtle.forward(100)
turtle.right(90)
turtle.forward(100)
turtle.right(90)
turtle.forward(100)
turtle.right(90)
turtle.forward(100)
turtle.mainloop()
print("welcome to the python world\n")
4:如何去查询模块中的函数说明
"""
this is used to figure out how to use a "right" function of the module
"""
print(help(turtle.right))