printing local time in Python

 

import time
print(time.asctime(time.localtime(time.time())))




Comments

Popular posts from this blog

Quotation marks to wrap an element in HTML

Using insertAdjacentHTML instead of innerHTML to avoid XSS attacks

Guess The Number Game - You vs. Your Friend