listdir

Smith smith at smith.it
Mon Sep 5 12:29:12 EDT 2016


>
> 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".



More information about the Python-list mailing list