240 发简信
IP属地:广东
  • 2019-01-29 http协议

    什么是http和https协议: HTTP协议:全称是HyperText Transfer Protocol,中文意思是超文本传输协议,是一种发...

  • 2019-01-26元组

    def foo(args1,argst):print(args1)print(argst) foo("hello","if","you","lo...

  • 2019-01-26列表

    jScores=[10,12,9,21,8,7] ascors=16 jScores.sort() 给列表排序 jScores.pop() 21...

  • 2019-01-26 序列

    emotion=["angry","happy","nervous","sad"] 元组0,1,2,3,或者逆序,-1-2-3-4 print(...

  • 2019-01-25豆瓣书评爬取

    https://www.douban.com/robots.txt robots.txt 相应网站的爬虫协议,注意看有没有不让抓取的网页 imp...

  • 2019-01-25文件读取与写入

    import osos.getcwd()'/Users/dengjialiang/Documents/python'with open("/Us...

  • 2019-01-25 异常捕捉

    while True:try:num1 = int(input("Enter the first number:"))num2 = int(in...

  • 2019-01-16

    import os 对文件目录的操作 os.getcwd() 获得当前路径 path = "///"os.chdir(path) 移动到path...