我喜歡watchr的概念:它監視文件系統並在出現變化時運行回調。有一個純粹的Python等價物嗎?最好是可安裝的pip。Ruby的watchr在Python中等價嗎?
8
A
回答
5
你或許應該看看看門狗:
+0
有趣的項目。 +1 – 2011-04-28 13:06:11
+0
正在尋找相同的東西,但與Watchr相比,它更復雜 – denysonique 2011-08-22 08:52:56
0
對於Windows,有watcher,這可能是接近你所需要的,雖然我不知道它提供100%相同的信息。
相關問題
- 1. Ruby的等價的Python setattr()
- 2. Python中的inject()等價嗎?
- 3. python等價於ruby的__method__?
- 4. Ruby等價於Python的DictWriter?
- 5. python等價於ruby的`map.with_index`?
- 6. python等價於ruby的StringScanner?
- 7. Python中的「require」(Ruby)等價於什麼?
- 8. numpy.memmap(Python)在R中等價嗎?
- 9. XMLUnit有Ruby的等價物嗎?
- 10. Python的延續與Ruby的等價物
- 11. Python的等價物Ruby的each_slice(count)
- 12. Python等價於Ruby的包函數
- 13. 是否有「python -i」的ruby等價物?
- 14. Ruby中subprocess.Popen()的等價物?
- 15. UIBarButtonSystemItem在Android中等價嗎?
- 16. SqlBulkCopy在MySql中等價嗎?
- 17. DidReceiveRemoteNotification在Android中等價嗎?
- 18. str_shuffle()在JavaScript中等價嗎?
- 19. BindAsEventListener在jQuery中等價嗎?
- 20. Vector2在C++中等價嗎?
- 21. 在Perl中Ruby的irb等價物?
- 22. 在Python中,Ruby的class @@變量等價於什麼?
- 23. 在Python中是否有使用matplotlib和basemap的Ruby等價物?
- 24. 在ruby中,python的__file__等價於什麼?
- 25. map :: lower_bound()等價於python的dict類嗎?
- 26. Python 3.2有PyMongo的等價物嗎?
- 27. Clojure等價於Python的lxml庫嗎?
- 28. JavaScript是否與Python的__getattribute__等價嗎?
- 29. Ruby的cURL的等價物?
- 30. Ruby的等價ASP.NET的Application_Start?
http://stackoverflow.com/questions/182197/how-do-i-watch-a-file-for-changes-using-python是相關的(雖然可能不是重複) – 2011-04-28 09:22:26
也許pyinotify但這只是爲了linux – 2011-04-28 09:23:07