Last active
September 12, 2017 12:33
-
-
Save MSeifert04/f280314d5760bfefcb7a6160354b1aed to your computer and use it in GitHub Desktop.
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 | |
timeit.timeit( | |
"""print('numpy' in sys.modules) | |
import numpy""", "import sys", number=3) | |
# False | |
# True | |
# True | |
# 0.3159413684456874 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment