2008-02-03から1日間の記事一覧

Python Auto Reload とファイル変更管理

前にCherryPyのAutoReload機能についてメモったけど、今回はその中でもファイルの変更を監視してる部分をチェキ。 def autoreload(self): """Reload the process if registered files have been modified.""" sysfiles = [] #ファイルの事前処理 for k, m in…