[[Python/GUI]] - PythonでGUIアプリを作る方法【Tkinter】 -- https://wynn-blog.com/make-gui-application-with-python? > import tkinter root = tkinter.Tk() root.title("Python GUI") root.geometry("360x240") root.mainloop() - python tkinterでドラッグアンドドロップ -- https://emotionexplorer.blog.fc2.com/blog-entry-50.html > root.drop_target_register(DND_FILES) root.dnd_bind('<>', drop) * macOS [#b3a51e38] - pyenvのpythonでtkinterを使用する方法 -- https://qiita.com/skyloken/items/a5f839eba1bd79cd5ef9 export PATH="/usr/local/opt/tcl-tk/bin:$PATH" export LDFLAGS="-L/usr/local/opt/tcl-tk/lib" export CPPFLAGS="-I/usr/local/opt/tcl-tk/include" export PKG_CONFIG_PATH="/usr/local/opt/tcl-tk/lib/pkgconfig" export PYTHON_CONFIGURE_OPTS="--with-tcltk-includes='-I/usr/local/opt/tcl-tk/include' --with-tcltk-libs='-L/usr/local/opt/tcl-tk/lib -ltcl8.6 -ltk8.6'" |