Changing variable name in Spyder Changing variable name in Spyder python python

Changing variable name in Spyder


1) Select the variable you want to change, then Press CTRL + R2) Enter the new variable name you want. (in replace by)3) Replace all

enter image description here


Alternatively, PyCharm can be used instead of Spyder, which is now supported in Anaconda.

In PyCharm: Select the variable > Right Click > Refactor > Rename