Skip to content

Instantly share code, notes, and snippets.

@peadarcoylezopa
Created September 21, 2017 10:35
Show Gist options
  • Save peadarcoylezopa/3780fc3ee8dfd03e41b5f00946d0e13c to your computer and use it in GitHub Desktop.
Save peadarcoylezopa/3780fc3ee8dfd03e41b5f00946d0e13c to your computer and use it in GitHub Desktop.
Neat snippet for reproducibility
import sys, IPython, scipy, matplotlib, platform
print("This notebook was createad on a computer %s running %s and using:\nPython %s\nIPython %s\nPyMC3 %s\nNumPy %s\nSciPy %s\nMatplotlib %s\nSeaborn %s\n" % (platform.machine(), ' '.join(platform.linux_distribution()[:2]),
sys.version[:5], IPython.__version__, pm.__version__, np.__version__, scipy.__version__, matplotlib.__version__, sns.__version__))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment