Python batch file rename one liner

Batch file renaming is no fun, and I’m sick of Googling it every time I want to do it. For instance, if you wanted to replace underscores (_) with hyphens (-), what’s the least amount of thinking I need to do?

Also, is there an easy way to do it that is easily modifiable?

BOOM! Right here: