When i open Spyder from the terminal with the command Spyder, it is opening the Spyder Python 3.7 console, however whenever I'm opening .py files with SPyder, it is by default opening with Spyder 2.7.
I've already checked version of the Spyder along with my Anaconda version. Even in my Ubuntu, the python version is 3.7+