Monitor MULTIPLE folders with Python Watchdog and Multiprocessing |

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ธ.ค. 2020
  • I've received a ton of requests from my original Watchdog video on how to monitor multiple folders. Multiprocessing allows you to run multiple functions at the same time. It's similar to threading, but uses memory and your CPU differently.
    Timber.io article on the difference between threading and multi-processing: timber.io/blog/multiprocessin...
    Original Watchdog video: • Monitor Folders with P...
    Cyber Security Playlist: • Cyber Security
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 18

  • @arifansyahwicaksono4695
    @arifansyahwicaksono4695 3 ปีที่แล้ว

    Nice Contentt!! Keep it up. Love your videos and you give us the resource!! COooll

    • @BrandonJacobson
      @BrandonJacobson  3 ปีที่แล้ว +1

      Thank you for the positive feedback.

  • @pradeepgb986
    @pradeepgb986 2 ปีที่แล้ว +1

    How do you keep track of changes in the subdirectories?
    I do not want to hard code the subdirectory paths. Instead it should recursively search for changes in the subdirectories.

  • @animeshranjan5276
    @animeshranjan5276 2 ปีที่แล้ว

    Nice Work, can you suggest a way to Monitor whole file system of Laptop? Any other packages maybe?

  • @sagargulati639
    @sagargulati639 ปีที่แล้ว

    Hi , we have large no. of files coming to a folder like 5000 files a second, and this data is streaming... And out of 3000 files watchdog is recognising only 1000 file events, could you please suggest any the solution to this...

  • @gustavolondono1820
    @gustavolondono1820 3 ปีที่แล้ว

    Muy buena información saludos desde colombia.

  • @Ishhmaell
    @Ishhmaell 3 ปีที่แล้ว

    Hey Brandon, I've tried to do the same but it's not picking up the changes, also, when I interrupt it, I get this error: "RuntimeError: cannot join thread before it is started"
    Any Idea why this is happening?
    thanks

    • @BrandonJacobson
      @BrandonJacobson  3 ปีที่แล้ว

      What error are you specifically getting?

  • @user-vp2if4kb6p
    @user-vp2if4kb6p ปีที่แล้ว

    why not make it with simple duplication observer.schedule(event_handler, folderX, recursive=True) ?

    • @BrandonJacobson
      @BrandonJacobson  ปีที่แล้ว

      I will check that out. Thank you for the recommendation.

  • @rishikasinha7795
    @rishikasinha7795 3 ปีที่แล้ว

    I executed the same code in jupyter notebook but it didn't show any logs

    • @BrandonJacobson
      @BrandonJacobson  3 ปีที่แล้ว

      I googled it and it looks like Jupyter Notebooks don't print logs. Here's some recommendations on how to work around that: towardsdatascience.com/debugging-jupyter-notebooks-will-boost-your-productivity-a33387f4fa62

  • @jefecito5108
    @jefecito5108 3 ปีที่แล้ว

    Please post your code on how to program my Ipod Nano Gen 3 to clean my cat's litter box

  • @whitedragon231
    @whitedragon231 2 ปีที่แล้ว

    bro, I couldn't do the loop, always getting an error

    • @BrandonJacobson
      @BrandonJacobson  2 ปีที่แล้ว

      What error are you getting?

    • @whitedragon231
      @whitedragon231 2 ปีที่แล้ว

      @@BrandonJacobson something like not matched