「いつでもどこでもPythonを使っていたい」という人が世界中にたくさんおり、本連載56回目でiOS上でPythonを使う方法を紹介したところ、AndroidでもPythonを使いたいという要望があった。そこで、今回はTermuxを利用してAndroidでPythonを活用する方法を紹介しよう。 AndroidでPythonを使うには? 前々回、iOSでPythonを使うには、Pythonistaというアプリを使う方法が最適解であることを紹介した。それでは、Androidではどうかというと、筆者がいろいろ試したところ『Termux』を使う方法が最も心地よかったのでこれを紹介する。 とは言え、TermuxはPythonのためのアプリではない。Termuxとは、Android上でLinuxのターミナルを実行するためのアプリだ。つまり、これを使えば、パソコンのターミナルと同じ雰囲気でPython