摘要: 将python的datetime转换为unix时间戳 将unix时间戳转换为python的datetime Python time & datetime & string 相互转换 输出结果: 阅读全文
posted @ 2019-01-11 17:27 割肉机 阅读(27972) 评论(0) 推荐(1) 编辑
摘要: 第一类:数字性循环 for1-1.sh #!/bin/bash for((i=1;i<=10;i++)); do echo $(expr $i \* 3 + 1); done for1-2.sh #!/bin/bash for i in $(seq 1 10) do echo $(expr $i \ 阅读全文
posted @ 2019-01-11 09:31 割肉机 阅读(2873) 评论(0) 推荐(0) 编辑