Win XP. Python2.4. Javier Ruere suggested getting PyChecker or PyLint. I found PyChecker and put the pychecker-0.8.14 folder in C:\Python24\Lib\site-packages\PyChecker. I don't really know what I'm doing (obviously?), but I added C:\Python24\Lib\site-packages\PyChecker\pychecker-0.8.14\pychecker to PYTHONPATH.
So now: >>> import sys >>> sys.path ['C:\\Python24\\Lib\\idlelib', 'C:\\Python24', 'C:\\Python24\\MyScripts', 'C:\\Python24\\MyBestScripts', 'C:\\Python24\\Lib\\site-packages\\PyChecker\\pychecker-0.8.14\\pychecker', 'C:\\WINDOWS\\system32\\python24.zip', 'C:\\Documents and Settings\\Dick', 'C:\\Python24\\DLLs', 'C:\\Python24\\lib', 'C:\\Python24\\lib\\plat-win', 'C:\\Python24\\lib\\lib-tk', 'C:\\Python24\\lib\\site-packages', 'C:\\Python24\\lib\\site-packages\\Numeric', 'C:\\Python24\\lib\\site-packages\\win32', 'C:\\Python24\\lib\\site-packages\\win32\\lib', 'C:\\Python24\\lib\\site-packages\\Pythonwin'] There's this section in <http://pychecker.sourceforge.net/> : Note: On Windows, use pychecker.bat. You may also need to add python/scripts to your PATH. pychecker and pychecker.bat will only exist if pychecker has been installed. To install, do: python setup.py install Note: If you haven't installed pychecker, it can be run by doing: python pychecker/checker.py My probably dumb question is, how do I "do" those things? I've tried "python setup.py install" at the command line (at Run, I entered cmd and then at the prompt in the window I entered python setup.py install. No good. Then I tried python pychecker/checker.py . I got: C:\Documents and Settings\Dick>python pychecker/checker.py 'python' is not recognized as an internal or external command, operable program or batch file. and also C:\>python pychecker/checker.py 'python' is not recognized as an internal or external command, operable program or batch file. Can someone help me (he said plaintively)? Dick _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor