alex_bn_lee

导航

上一页 1 ··· 147 148 149 150 151 152 153 154 155 ··· 245 下一页

2019年3月13日 #

【378】python any() and all()

摘要: Reference: [1] Python all() - Python Standard Library [2] Python any() - Python Standard Library all() and any() 函数主要用于需要判断某个数组是不是都满足了某种条件,设置一个跟数组一样的 阅读全文

posted @ 2019-03-13 14:45 McDelfino 阅读(211) 评论(0) 推荐(0)

2019年3月11日 #

【377】only one element in a tuple

摘要: Recently I am doing the assignment of COMP9021. It is too difficult and it is about the Knight and Knave. While I tried to finish this assignment, how 阅读全文

posted @ 2019-03-11 07:53 McDelfino 阅读(152) 评论(0) 推荐(0)

2019年2月28日 #

【376】COMP 9021 相关笔记(二)

摘要: Note_01 zip() itertools.zip_longest() %time Note_02 for 循环单行输出 list 技巧 迭代器 生成器 map() zip() from pathlib import PathPath.glob:可以用来查询文件名 import csvcsv.r 阅读全文

posted @ 2019-02-28 08:04 McDelfino 阅读(152) 评论(0) 推荐(0)

2019年2月27日 #

【375】COMP 9021 相关笔记

摘要: 1. Python 中的逻辑否定用 not 2. 对于下面的代码直邮输入整数才能运行,无论字符串或者浮点型都会报错 可以通过 try 来修改,同时注意 raise 的使用 3. set 与 dict 都是大括号 4. random.choice() 可以随机选择列表里面的元素 random.rand 阅读全文

posted @ 2019-02-27 12:43 McDelfino 阅读(210) 评论(0) 推荐(0)

2019年2月23日 #

【374】Adobe Acrobat 操作技巧

摘要: 1. 文件内容增减 参考:如何在PDF文件中删除页面 参考:如何旋转、移动、删除和重新编号 PDF 页面 双击PDF文档,并在预览程序中打开它。 如果在其他程序(如Adobe Reader)中打开文档,那么右键点击文件,选择“打开方式”,然后选择“预览”。 点击“视图”菜单,然后选择“缩略图”选项。 阅读全文

posted @ 2019-02-23 06:49 McDelfino 阅读(1217) 评论(0) 推荐(0)

上一页 1 ··· 147 148 149 150 151 152 153 154 155 ··· 245 下一页