I have pivot point and cursor set as in answer. Now I want to use it to mirror mesh running script from text editor. Mirror works fine, but it does not use the pivot point. Does it mean I have to run the code from the 3d View, or there is a way to switch to context, and still run it in Text Edito...