Skip to content

Instantly share code, notes, and snippets.

@daguar
Created June 5, 2014 00:47
Show Gist options
  • Save daguar/9a6fc83d1a67939c5110 to your computer and use it in GitHub Desktop.
Save daguar/9a6fc83d1a67939c5110 to your computer and use it in GitHub Desktop.
Using IPython's embed() to interactively play with code at a specific point
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
from IPython import embed
import json
geojson_string = open('good_oakland_bars.geojson').read()
geodata_dict = json.loads(geojson_string)
embed()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment