Electron microscopy
 
Find and Convert the File Time/Date
- 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

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

Find and convert the file time/date when the file is copied into the folder and get the current time: Code:         
          Check if file exists or not, and then open it if there is
Output:         
         Check if file exists or not, and then open it if there is         

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

Get the time difference between the file modification and current time, and the time difference between the file creation and current time. Code:
         
       Output:    
         

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

         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         

 

 

 

 

 

 

 

 

 

 

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