I'm running a program that prompts a user to select a file from explorer and it will use that file path later in the program, but when I run it, it causes python to crash.
    from time import sleep
    from Tkinter import Tk
    from tkFileDialog import askopenfilename, askdirectory
    root = Tk()
    print "************************************************"
    print "************************************************"
    print "*****************Zip-to-PDF*********************"
    print "************************************************"
    print "************************************************"
    print""
    print "Please select your zip file: "
    sleep(1)
    root.withdraw()
    filepath = askopenfilename()
When I select a ".zip" file, the python crashes. All of the other file extensions that I have tried worked perfectly fine, but I need to be able to take in a zip file.
Is there a way to get this to work, or is there a better approach?
