optparse.py: FutureWarning error

Michael Hoffman cam.ac.uk at mh391.invalid
Fri Jun 3 12:40:18 CEST 2005


John Machin wrote:
> Michael Hoffman wrote:
> 
>> Terry Reedy wrote:
>>
>>> c) Check to see if Python has a startup option for suppressing warnings
>>>
>>> As to c) python -h gives a list indicating what I thought, that -W 
>>> controls warnings, but gives insufficient info for me to use it, and 
>>> I didn't find any more in the docs.  I hope someone else chimes in.
>>
>>
>>
>> man python. Search for -W.
> 
> 
> """
> C:\junk>man python
> 'man' is not recognized as an internal or external command,
> operable program or batch file.
> """

Well it's obviously not going to work if you don't install man. <wink>

"""
C:\Documents and Settings\MichaelH>man python

PYTHON(1)

NAME

python  - an interpreted, interactive, object-oriented programming language
"""

Here's a copy of the man page:

http://linuxcommand.org/man_pages/python1.html
-- 
Michael Hoffman



More information about the Python-list mailing list