问题
How do I import/export my custom preferences for Spyder? e.g. if I am installing it on a new machine and would like to import my color/interpreter/keymapping defaults from my original installation.
回答1:
(Spyder maintainer here) Sorry, there's no way to import/export our Preferences right now.
However, you can look for a directory called .spyder{-py3}
(Windows, macOS) or ~/.config/spyder{-py3}
(Linux) in your home or Users directory. That directory contains a file called spyder.ini
, which has all user preferences. You should be able to copy/paste that file among computers without problems (although we haven't tested that).
If you find any trouble with that method, you can reset your preferences by opening a system terminal (cmd.exe, Terminal.app or xterm) and running there
spyder --reset
来源:https://stackoverflow.com/questions/51753484/how-to-import-export-spyder-preferences