07 2018 档案

摘要:def eat(): print(1) print(2) eat() #调用函数 class Person: def eat2(self): print(1) print(2) p=person() p.eat2() #使用方法 阅读全文
posted @ 2018-07-12 09:13 21keya 阅读(58) 评论(0) 推荐(0)
摘要:import urllib #引入url库 def getUrlList(): #定义一个函数 res=urllib.urlopen(‘http://www.budejie.com/vedio’) #打开一个网站 html=res.read() #取得其中的html print(html) impo 阅读全文
posted @ 2018-07-11 09:07 21keya 阅读(1239) 评论(0) 推荐(0)