This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import sys | |
import subprocess | |
import requests | |
import pathlib | |
import functools | |
import shutil | |
import tqdm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import timeit | |
import sys | |
print("Python", sys.version) | |
def test1(p1:int, p2:float, p3:str): | |
return 'A typical: {:d} format {:.2f} example {:s}'.format(p1, p2, p3) | |
def test2(p1:int, p2:float, p3:str): | |
return 'A typical: %d format %.2f example %s' % (p1, p2, p3) |