...This gives a lot more flexibility compared to other renaming files since it used grouping principle. This had two level of applying the rename, first stage shows who it will be when you rename it, if you are fine with the change you can make it permanent by clicking commit. This avoid the risk of file getting corrupted.
To rename all .py file to .pyc is as follows:
Search for Regex: (.py)$
Rename using this regex: .pyw