2012-09-15 Python ファイル読み込み メモ http://stackoverflow.com/questions/7862987/consistent-way-to-redirect-both-stdin-stdout-to-files-in-python-using-optparse