jeudi 13 août 2015

Python Tkinter Breaks OS X Trackpad Gestures

So I'm using Tkinter in a script that I'm making, and I've noticed that after running my script, my trackpad gestures don't work until I run killall Dock in Terminal.app.

This doesn't happen if I comment out the tkinter code from my script.

Here's the relevant bits of Python code I'm using.

from Tkinter import Tk
from tkFileDialog import askopenfilenames

Tk().withdraw() # avoid blank tk window opening
files = askopenfilenames(title='Select all logs you would like to compile.')



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire