2019-11-01から1ヶ月間の記事一覧

jinja2 逆順ソート {% for item in list|sort(attribute='date', reverse=true) %} dateをソートしたいitem内の項目にすれば好きなソートがかけれる reverseは省略可、デフォルトfalseで昇順、trueで降順 2重ソートはわからん

python "selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 78" こんな感じのエラー ChromeDriverとChromeのバージョン違いらしい ChromeDriverをダウング…

python timestamp関係のメモ print(str(time.time()) + "\n" + str(datetime.datetime.now().timestamp()))1574129354.37992741574129354.379927 time.time()よりdatetime.datetime.now().timestamp()のほうがより正確 timestampをフォーマット datetime.fro…

python iniファイルの読み込みエラーconfigparser NoSectionError実行したときのカレントディレクトリのiniファイルを読みに行く模様絶対パスを指定するか、実行前にカレントディレクトリを移動してから実行すればおk

AndroidStudio + git(backlog) ローカルでcommit→サーバにpushみたいな感覚 なんか1回でうまくできない