Python Forum
Code to check folder and sub folders for new file and alert
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Code to check folder and sub folders for new file and alert
Hi Experts!

Can anyone advise if there is any way to scan a folder and sub folders for example, every hour, and send an email via SMTP with the filename and location?

Many thanks,
show us your attempt. we can help with that
please read: No effort questions
There are lots of articles online similar to this:

Possibly Related Threads…
Thread Author Replies Views Last Post
  please check this i wanna use a csv file as a graph xCj11 5 440 Aug-25-2022, 08:19 PM
Last Post: deanhystad
  Function not executing each file in folder mathew_31 9 743 Aug-22-2022, 08:40 PM
Last Post: deanhystad
  check if a file exist on the internet and get the size kucingkembar 6 727 Apr-16-2022, 05:09 PM
Last Post: kucingkembar
  Dynamic File Name to a shared folder with open command in python sjcsvatt 9 2,197 Jan-07-2022, 04:55 PM
Last Post: bowlofred
  Compare filename with folder name and copy matching files into a particular folder shantanu97 2 2,021 Dec-18-2021, 09:32 PM
Last Post: Larz60+
  How to import file and function in another folder SriRajesh 1 1,157 Dec-18-2021, 08:35 AM
Last Post: Gribouillis
  How to run an exe file in the Scripts folder using py.exe? quazirfan 2 1,776 Sep-08-2021, 01:00 AM
Last Post: quazirfan
  Try,Except,Else to check that user has entered either y or n (Code block pasted) RandomNameGenerator 3 1,573 Jun-29-2021, 08:21 PM
Last Post: RandomNameGenerator
  Check last time file was accessed Pavel_47 4 1,902 Jun-01-2021, 05:47 PM
Last Post: Yoriz
  How to check if a file has finished being written leocsmith 2 4,217 Apr-14-2021, 04:21 PM
Last Post: perfringo

Forum Jump:

User Panel Messages

Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020