Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Python
Remove file extension from file within dir Ask Question
bobsmith76
Programming language:
Python
2021-05-29 21:36:48
0
Q:
Remove file extension from file within dir Ask Question
Frank Jaeger
Code:
Python
2021-06-03 23:18:54
find . -name "*.bak" -type f -delete
3
Aref
Code:
Python
2021-01-23 15:36:56
import os os.path.splitext(current)[0]
1
Tags
file
remove
within
Related
python delete file with extension
New to Communities?
Join the community