【python3】簡単な並列処理の書き方

pythonで並列処理をした時のメモ。
python 3.7.1にて動作確認
import randomfrom hashids import Hashids # pip install hashidsfrom co ...【python3】任意の文字数でhash値を生成する

pythonでhash値取ろうとすると長すぎて要件に合わないなんてことがあった。
指定文字数のhash値が欲しい…
そんな時に作ったやつを残しておく。
python 3.7.1にて動作確認
【Python】CloudWatch logsをlocalファイルに保存する方法

CloudWatchのログってS3にエクスポートできたり、cliでいろいろできるけどやっぱりlogファイルとして欲しいときに面倒なのでそれをPythonに頑張ってもらうやつです。
手順
①.pyと同階層にlogsフ ...