- 博客(3)
- 收藏
- 关注
原创 random模块笔记-DStar-Note
At the begining stage of learning pyhton in Englishany grammer or spelling mistake might happen,please just write in comment ,I will rewrite letterimport random#random intprint (random.randint(1,50))#random even numbers between 0~100print (random.ra
2020-12-03 15:53:31 323 5
原创 urllib模块笔记
先了解URL(Uniform Resoure Locator:统一资源定位器)是WWW页的bai地址,它从左到右由下述部分组成:·Internet资源类型(scheme):指出WWW客户程序用来操作的工具。如“http://”表示WWW服务器,“ftp://”表示FTP服务器,“gopher://”表示Gopher服务器,而“new:”表示Newgroup新闻组。·服务器地址(host):指出WWW页所在的服务器域名。·端口(port):有时(并非总是这样),对某些资源的访问来说,需给出相应的服务器
2020-12-03 15:14:24 111
原创 sys 模块笔记-Dstar-note
sys 模块笔记sys.argv实现在程序外部传递参数returns a list of command line arguments passed to a Python script.返回值为一个命令行列表list中第0位一般为这个脚本的名字The item at index 0 in this list is always the name of the script. The rest of the arguments are stored at the subsequent indic
2020-12-02 14:18:50 93
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人