前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >易学python

易学python

作者头像
用户5760343
发布2022-01-10 08:07:33
2630
发布2022-01-10 08:07:33
举报
文章被收录于专栏:sktj

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 eqltstraddne gt__ le__ gereprgetitemsetitemdelitemkeyslencontainsint 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 开发

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2019.05.10 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档