What exactly are you expecting the 'break' to do here? Can you explain to me the intent of your code? ChrisA
I'd like to create a script that searches the directory .py files.If the script does not find the file extension .py would return the error message "File Not Found".
-- https://mail.python.org/mailman/listinfo/python-list