python + tkinter + regex for tracking stock