cardsq1pub / ipython_start
educrpg's picture
Create ipython_start
3e27084 verified
# This will run every time an IPython (or Jupyter) kernel starts
def hello():
print("Right on baby jaybird! Hello from IPython startup!")
from git import Repo
import os
if os.path.exists('./workstatml'):
pass
else:
Repo.clone_from(os.environ['GIT_URL'],'./workstatml')
def jello():
print("Right on baby raybird! Hello from IPython startup!")