Passing options to Python executable in non-interactive mode

Posted by chiggsy on Stack Overflow See other posts from Stack Overflow or by chiggsy
Published on 2010-01-16T20:06:17Z Indexed on 2010/04/11 16:23 UTC
Read the original article Hit count: 387

Filed under:

I would like to pass some options to Python (version 2.6) every time, not just in interactive mode. Is there a file I can put such commands in?

EDIT: Specifically, I'm wanting to silence the Deprecation warnings.

© Stack Overflow or respective owner

Related posts about python