What is the BEST way to clear out all the __pycache__  folders and .pyc/.pyo files from a python3 project. I have seen multiple users suggest the pyclean script bundled with Debian, but this does not remove the folders. I want a simple way to clean up the project before pushing the files to my DVS.
Using PyCharm
To remove Python compiled files

In the Project Tool Window, right-click a project or directory, where Python compiled files should be deleted from.
On the context menu, choose Clean Python compiled files.

The .pyc files residing in the selected directory are silently deleted.
Python3 project remove __pycache__ folders and .pyc files