Created
September 23, 2022 21:09
-
-
Save singularitti/8cd91dd131bf93fa01721a5b101f0b05 to your computer and use it in GitHub Desktop.
Python startup config #Python #startup #config
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 python | |
try: | |
from IPython import get_ipython | |
IPYTHON = get_ipython() | |
IPYTHON.run_line_magic('load_ext', 'autoreload') | |
IPYTHON.run_line_magic('autoreload', '2') | |
except ModuleNotFoundError: | |
pass | |
try: | |
import matplotlib.pyplot as plt | |
import numpy as np | |
except ModuleNotFoundError: | |
pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment