文字列の問題もなくプリティ・フォーマット
date2check = to_datetime(str(last_tx.year) + \
'-' + str(int(last_tx.month)-3) + \
'-' + str(last_tx.day) + \
' ' + str(last_tx.hour) + \
':' + str(last_tx.minute) + \
':' + str(last_tx.second))
作品が、私はもっとappropiately再書き込みこの(神託のように)にはいくつかの方法があるかどうかを知りたいです。 last_tx
はdatetimeオブジェクトです。
[こちらは類似記事です](http://stackoverflow.com/questions/4172448/is-it-possible-to-break-a-long-line-to-multiple-lines-in-python#4172465)それは助けるべきである。本質的にバックスラッシュで改行をエスケープすることができます。 –