mirror of
				https://github.com/pocketpy/pocketpy
				synced 2025-10-31 17:00:17 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			315 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			315 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ---
 | |
| icon: package
 | |
| label: time
 | |
| ---
 | |
| 
 | |
| ### `time.time()`
 | |
| 
 | |
| Returns the current time in seconds since the epoch as a floating point number.
 | |
| 
 | |
| ### `time.sleep(secs)`
 | |
| 
 | |
| Suspend execution of the calling thread for the given number of seconds.
 | |
| 
 | |
| ### `time.localtime()`
 | |
| 
 | |
| Returns the current struct time as a `struct_time` object. |