Fredrik Lundh wrote:
> "LorcanM" wrote:
>> >> python -m pdb -Werror myprogram.py
> >
> > It sounds like what I want, but it doesn't work for me. When I try the
> > above line of code, it replies:
> >
> > Error: -Werror does not exist
> >
> > I'm running Python 2.4.3
>> sorry, pilot cut and paste error. try:
>> python -Werror -m pdb myprogram.py
>> (-m script must be the last option before the script arguments, for pretty
> obvious reasons).
>> </F>
Thanks for that - that does the trick,
Lorcan.