User Tools

Site Tools


write_current_date_and_time_to_file_and_screen

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
write_current_date_and_time_to_file_and_screen [2016/08/11 21:58] walkeradminwrite_current_date_and_time_to_file_and_screen [2023/03/09 22:35] (current) – external edit 127.0.0.1
Line 8: Line 8:
 \\  \\ 
 \\  \\ 
 +<sxh [py][; options for SyntaxHighlighter]>
     #!/usr/bin/python     #!/usr/bin/python
     #     #
Line 38: Line 39:
                                                                 # to screen                                                                 # to screen
         time.sleep(30)                                          # sleep for x seconds         time.sleep(30)                                          # sleep for x seconds
-        +</sxh>    
 \\  \\ 
 ==== Example Output ==== ==== Example Output ====
-\\  
-\\  
 August 11 2016 21:40:12\\  August 11 2016 21:40:12\\ 
 August 11 2016 21:40:42\\  August 11 2016 21:40:42\\ 
write_current_date_and_time_to_file_and_screen.1470949132.txt.gz · Last modified: 2023/03/09 22:35 (external edit)