"""
try:
    pass
except:
    pass
else:
    pass
finally:
    pass

try:
    pass

finally:
    pass

GUI - Graphical User Interface

"""

try:
    f = open("test.txt", encoding='utf-8')
    # perform file operations
    # ...

finally:
    f.close()


