curl

Python

Git Bash で curl > /tmp/c.json に保存したのに、Python の open(‘/tmp/c.json’) が FileNotFoundError になる

Windows の Git Bash で curl の結果を /tmp に保存し、続けて Python で open すると FileNotFoundError になる問題の原因と、パイプか Python 内での取得に変えて通した手順。