Skip to content

Instantly share code, notes, and snippets.

Avatar

Rodolfo Alvarez masaguaro

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