Skip to content

Instantly share code, notes, and snippets.

View antoinetavant's full-sized avatar

Antoine Tavant antoinetavant

View GitHub Profile
import traitlets
from IPython.display import display
from ipywidgets import widgets
from tkinter import Tk, filedialog
class SelectFilesButton(widgets.Button):
"""A file widget that leverages tkinter.filedialog."""
def __init__(self, *args, **kwargs):
@antoinetavant
antoinetavant / HideCodeButton.ipynb
Last active January 11, 2018 12:34
Add a Button to hide all inputs, leaving only outputs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.