Here, if no argument or None is passed to gmtime(), the value returned by time() is used. The gmtime() function takes the number of seconds passed since epoch as an argument and returns struct_time in UTC. Here, if no argument or None is passed to localtime(), the value returned by time() is used. The localtime() function takes the number of seconds passed since epoch as an argument and returns struct_time (a tuple containing 9 elements corresponding to struct_time) in local time. To learn more about sleep(), please visit: Python sleep().
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |