From this answer, I am using
projectile-replace to replace words within a folder. It works fine but it covers all the buffers.
I was able to accomplish it it using
(defun my-find-files () (interactive) (find-dired "~/project" "-name \\*.py))
=> How can I apply
projectile-replace only for Python files?