Created
March 14, 2021 06:28
-
-
Save hyunsikhwang/e7f0722936d4c110e26a834c0d644194 to your computer and use it in GitHub Desktop.
Check running on Google Colab
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
if 'google.colab' in str(get_ipython()): | |
print('Running on CoLab') | |
else: | |
print('Not running on CoLab') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment