how do I place the pygame screen in the middle?
<p>I made a game using pygame which includes an init. 
In other ".py" file I created another init which I run from the main game.
But, the second init opened on the [0,0] place of the main init, and I want to move it.
the part that marked in a red frame at the photo, is the visual part from the second init.</p>

<p>i'm using Python 2.7, thanks!!</p>

<p><a href="https://i.stack.imgur.com/tQ3Rb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tQ3Rb.png" alt=""></a></p>