Secured (non-text) python script for deployment

Not really.

See this forum post and its discussion for more details.