We use Python 2.3.4 where I work (we are always too busy to upgrade).

When I run a script in py form, this line executes just fine

sys.stdout.write( "\r%16s ... addr=0x%08X %7.2f%%" % ( tName, address, percent ) )


When I run as an exe, this warning is generated
warning: %u/%o/%x/%X of negative int will return a signed string in Python 2.4 and up


This isn't a big problem, but really clutters up the screen.

2 questions.

1. Why don't I see this when the script is run in .py form?
2. Is there anything I can do in the script or setup.py to eliminate the warning?

thanks