mirror of
https://github.com/Matir/skel.git
synced 2026-06-10 11:13:40 -07:00
Conditionally start ipython.
This commit is contained in:
@@ -1,4 +1,7 @@
|
|||||||
|
try:
|
||||||
import os, IPython
|
import os, IPython
|
||||||
os.environ['PYTHONSTARTUP'] = '' # Prevent running this again
|
os.environ['PYTHONSTARTUP'] = '' # Prevent running this again
|
||||||
IPython.start_ipython()
|
IPython.start_ipython()
|
||||||
raise SystemExit
|
raise SystemExit
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|||||||
Reference in New Issue
Block a user