Electron microscopy
 
Watchdog for Monitoring Specific File or Files with Specific Extension
- Python for Integrated Circuits -
- An Online Book -
Python for Integrated Circuits                                                                                   http://www.globalsino.com/ICs/        


Chapter/Index: Introduction | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | Appendix

=================================================================================

============================================

Monitor specific file or files with specific extension (here monitor creation of a file with name "Word.PNG" in folder and subfolder "C:\0Python\images\finalFolder"): code:
          Move files from one directory to another (the file must already exist)
When the file below is pasted into the folder:          
         Move files from one directory to another (the file must already exist)         
Its output is:          
         Move files from one directory to another (the file must already exist)         
When the file above is deleted, then the output is:          
         Move files from one directory to another (the file must already exist)         
When the file circled in red below is pasted into the folder:          
         Move files from one directory to another (the file must already exist)         
Then, the output is:          
         Move files from one directory to another (the file must already exist)         
When the file below is pasted into the folder:          
         Move files from one directory to another (the file must already exist)         
Then, there is no output as shown in below:          
         Move files from one directory to another (the file must already exist)         

============================================

Script ranking: Number 2 out of 5. Monitor specific files with specific extension and/or file names : code:
          Move files from one directory to another (the file must already exist)
Input:          
         Move files from one directory to another (the file must already exist)
         Move files from one directory to another (the file must already exist)
Output:          
         Move files from one directory to another (the file must already exist)


         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         

 

 

 

 

 

 

 

 

 

 

=================================================================================