I was trying to make a GUI for a script that would enable a user to run an external script through clicking an OK button.
def button_event(evt) :
Blender.Run('C:\Documents and Settings\hiral mehta\Desktop\project stuff\drag_drop.py')
However, this drag_drop.py contains modules like Rasterizer etc. Hence, when I run the GUI script (with [ALT]+P) it gives an error saying ImportError: No module named Rasterizer.
Is it not possible to create a GUI for a script which will have a button which when clicked runs a script in the BGE (for e.g. a button when clicked displays the mouse pointer in the BGE)