Skip to content

Instantly share code, notes, and snippets.

View masaguaro's full-sized avatar

Rodolfo Alvarez masaguaro

View GitHub Profile
@masaguaro
masaguaro / selectfile.py
Created September 13, 2018 10:50 — forked from DrDub/selectfile.py
A file selection class build for ipywidgets without any extra dependencies.
import os
import ipywidgets as widgets
class FileBrowser(object):
def __init__(self):
self.path = os.getcwd()
self._update_files()