Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)

src/b/a/BaiduYunPanPython-HEAD/lib/platform/windows/UFSMonitor.py   BaiduYunPanPython(Download)
#!/usr/bin/env python
# -*- coding: utf-8 *-*
import threading
 
from UniFileSync.lib.common.UFSMonitor import (
    2: FILE_DELETE,
    3: FILE_MODIFY,
    4: FILE_MOVED_FROM,
    5: FILE_MOVED_TO,
}
                #print '[%s]: action %d, %s' %(self.getName(), action, path)
                #full_path = self.watchPath[comKey] + '\\' + path
                if ACTIONS[action] == FILE_MOVED_FROM:
                    src_path = path
                elif ACTIONS[action] == FILE_MOVED_TO:

src/b/a/BaiduYunPanPython-HEAD/lib/platform/linux/UFSMonitor.py   BaiduYunPanPython(Download)
import os
 
from UniFileSync.lib.common.UFSMonitor import (
        UFSMonitor,
        FILE_CREATE,