snippets
Linux
date "+%Y%m%d_%H%M%S"
Python
import time
f = "_" + str(time.strftime('%Y%m%d_%H%M%S', time.localtime(time.time()))) + '.xlsx'
import subprocess
print(subprocess.check_output(['cat', path]))
print(subprocess.check_output(cmd, shell=True).strip())
Last updated