You can disable the warning message by using "-W ignore" with python command. Here is an example.
$ python -W ignore your_program.py
-W arg Warning control. Python’s warning machinery by default prints warning messages to sys.stderr. A typical warning message has the following form: ignore Ignore all warnings.