Created
October 20, 2017 03:28
-
-
Save jovianlin/48532a678b40be4f9a5df939212c6355 to your computer and use it in GitHub Desktop.
Use TQDM if installed
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
# Use TQDM if installed | |
tqdm_installed = False | |
try: | |
from tqdm import tqdm | |
tqdm_installed = True | |
except: | |
pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment