易学python

作者: SkTj | 来源:发表于2019-05-10 15:18 被阅读302次

    Hunt the Wumpus
    1、help(os)查看详细帮助信息
    2 for item in os.walk(dirname)
    os.access(dirname,os.F_OK)

    image.png
    os.path.join("c:\python","test.py")
    3 hashlib
    has=hashlib.md5()
    has.update("sfsdfs")
    print(has.hexdigest())
    生成文件的哈希值:
    image.png
    4 for a,b in dic.items()
    5 python单元测试框架???unittest,pytest
    6 urllib 下载网页
    7 beautifulsoup分析网页,获取元素
    image.png
    8 CSV写入文件
    image.png
    9 发送电子邮件:
    image.png
    10 traceback模块使用
    image.png
    11 3,4,5,6
    12 choice shuffle使用
    13 property
    image.png
    14 对象类中getattr setattr 的用法
    15 eq lt str add ne gt__ le__ ge repr getitem setitem delitem keys len contains int float__
    list1
    foo=iter(list1)
    foo.next()
    foo.next()
    [f for f in files if f.endswith(file_type)]
    16 查找变量
    image.png
    17 7.12 遍历目录的生成器
    18 7.14 分析apache日志
    19 map 和filter 使用
    20 models 中choices用法
    image.png
    21 urls.py (?P<object_id>\d+)
    22 pyglet开发游戏
    23 twisted
    24 todo 开发
    25

    相关文章

      网友评论

        本文标题:易学python

        本文链接:https://www.haomeiwen.com/subject/iybjiqtx.html