Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
エラー処理を改善するために、いくつかのバックアップ スクリプトを bash から python に移動しようとしています。
ディレクトリをs3にバックアップするためにs3cmd syncを使用しています。これをPythonで直接(おそらくbotoを使用して)同様に簡単に行う方法を見つけたいと思っていましたが、これまでのところ、subprocess.calls3cmdを使用して使い続けるのが最も簡単なようです。
subprocess.call
より良い解決策を提案する人はいますか?