Skip to content

Instantly share code, notes, and snippets.

@GabrielSGoncalves
Last active March 1, 2020 22:44
Show Gist options
  • Save GabrielSGoncalves/4bcb6a5a70be0dfd4bbba9a415052e21 to your computer and use it in GitHub Desktop.
Save GabrielSGoncalves/4bcb6a5a70be0dfd4bbba9a415052e21 to your computer and use it in GitHub Desktop.
executing papermill using its Python API
import papermill as pm
pm.execute_notebook('weather_forecast_using_pyowm.ipynb',
'weather_forecast_using_pyowm_output.ipynb',
parameters={'city':'Sao Paulo,BR'},
kernel_name='papermill-tutorial')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment