Create blocking popup in Blender api
Yes, Python can make a popup menu.

The options are either...


Create a popup on the fly. using bpy.context.window_manager.popup_menuhttp://www.blender.org/api/blender_python_api_2_75_release/bpy.types.WindowManager.html#bpy.types.WindowManager.popup_menu
Define a menu subclass of bpy.types.Menu, then call it. see:http://www.blender.org/api/blender_python_api_2_75_release/bpy.types.Menu.html


Both of the links above include examples.



Regarding "How to get the result of the selection", The way Blender works, menu items reference operators. So you would need to define an operator which is referenced from the menu.