import os
from Tkinter import Tk
from tkFileDialog import askopenfilenames

__all__ = ['qxml', 'qxmledit']

import qxml

if __name__ == '__main__':
    print 'Please select source MS-Excel files for conversion.'

    Tk().withdraw()
    filenames = askopenfilenames(initialdir=os.getcwd())

    try:
        if not isinstance(filenames, tuple):
            m = 'Expected a tuple as returned value from dialog, got %s' % type(filenames)
            raise TypeError(m)
        qxml.xlsform_convert(filenames)
    except TypeError as e:
        print 'No files picked.'
    except NameError as e:
        print 'No files picked.'

    s = input('Press enter to end the program.')
@@ -4,673 +4,58 @@
 ort 
-os%0Afrom Tkinter import Tk%0Afrom tkFileDialog import askopenfilenames%0A%0A__all__ = %5B'qxml', 'qxmledit'%5D%0A%0Aimport qxml%0A%0Aif __name__ == '__main__':%0A    print 'Please select source MS-Excel files for conversion.'%0A%0A    Tk().withdraw()%0A    filenames = askopenfilenames(initialdir=os.getcwd())%0A%0A    try:%0A        if not isinstance(filenames, tuple):%0A            m = 'Expected a tuple as returned value from dialog, got %25s' %25 type(filenames)%0A            raise TypeError(m)%0A        qxml.xlsform_convert(filenames)%0A    except TypeError as e:%0A        print 'No files picked.'%0A    except NameError as e:%0A        print 'No files picked.'%0A%0A    s = input('Press enter to end the program.')
+qxml%0Aimport qxmledit%0A%0A__all__ = %5B'qxml', 'qxmledit'%5D%0A%0A

Trying __main__ module