<|file_name|>EasyDialogs_AskYesNoCancel.py<|end_file_name|><｜fim▁begin｜>#!/usr/bin/env python
# encoding: utf-8
#
# Copyright (c) 2008 Doug Hellmann All rights reserved.
#
"""
"""

__version__ = "$Id$"
#end_pymotw_header

import EasyDialogs

valid_responses = { 1:'yes',
                    0:'no',
                    -1:'cancel',
                    }

response = EasyDialogs.AskYesNoCancel('Select an option')<｜fim▁hole｜><｜fim▁end｜>
print 'You selected:', valid_responses[response]