The notebook in this gist is meant to illustrate a problem we're experiencing with a notebook that often fails to save at all when attempting to write to it from a cloud-hosted bub.
See the saving-bug
notebok for more details.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%% LaPreprint: PREPRINT TEMPLATE | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\documentclass[9pt,arxiv]{lapreprint} | |
% Import packages | |
\usepackage[version=4]{mhchem} % For chemical notation | |
\usepackage{siunitx} % For SI units | |
\usepackage{pdflscape} % For putting pages in landscape mode |
#!/usr/bin/env python | |
""" | |
Refresh an environment yaml file to current versions. | |
This script reads an existing `environment.yml` file (for Conda/Mamba | |
environments) and writes out a new file listing the same packages, but listing | |
all currently available versions of the listed packages. | |
For an alternate approach, that queries PyPI/Conda-Forge to gather the most | |
recent versions of all packages, see @yuvipanda's similar script at |
#!/usr/bin/env python | |
"""Copy data files to final html directory. | |
""" | |
#----------------------------------------------------------------------------- | |
# Imports | |
#----------------------------------------------------------------------------- | |
import os | |
import sys |
The notebook in this gist is meant to illustrate a problem we're experiencing with a notebook that often fails to save at all when attempting to write to it from a cloud-hosted bub.
See the saving-bug
notebok for more details.
#!/usr/bin/env python | |
"""Copy data files to final html directory. | |
""" | |
#----------------------------------------------------------------------------- | |
# Imports | |
#----------------------------------------------------------------------------- | |
import os | |
import sys |
Author: Fernando Pérez.
A demonstration of how to use Python, Julia, Fortran and R cooperatively to analyze data, in the same process.
This is supported by the IPython kernel and a few extensions that take advantage of IPython's magic system to provide low-level integration between Python and other languages.
See the companion notebook for data preparation and setup.