Giter VIP home page Giter VIP logo

Comments (3)

ccordoba12 avatar ccordoba12 commented on June 2, 2024

Hey @Damien6345, thanks for reporting. You said:

Is it possible to change the temporary directory

Yes, it is. You need to start from the command line with the command

spyder --conf-dir C:/Users/XXXXX/documents/.spyder3

to use that directory other directory for your settings.

Let us know if that works as expected for you.

from spyder.

Damien6345 avatar Damien6345 commented on June 2, 2024

Hello

Thank you for your reply.
I've made some progress, and I've achieved what I want by modifying the spyder.ini file directly, i.e. changing the language, setting another default directory for the new files, i.e. in my case C:\Users\admin\Documents instead of C:\Users\admin .
Here are two things I'd like to know for my Windows computer rooms:

  • Is it possible for all new user sessions to use the same pre-customised .ini file with the same configuration, which would be different from the default configuration, for example, when a new user logs on to the machine, so that for example the language defined does not revert to the default language, and the same goes for the default directory?
  • Is it possible to change the default opening behaviour of Spyder and temp.py which is stored by default on C:\Users\admin.spyder-py3\temp.py

Thanks

from spyder.

ccordoba12 avatar ccordoba12 commented on June 2, 2024

Is it possible for all new user sessions to use the same pre-customised .ini file with the same configuration, which would be different from the default configuration, for example, when a new user logs on to the machine, so that for example the language defined does not revert to the default language, and the same goes for the default directory?

Yes, you need to place a spyder.ini file with your desired options (it doesn't need to be a copy of your user spyder.ini, just one with the options you want to customize) in one of the directories listed by the command:

spyder --paths

We haven't tested that too much, but it should do the trick.

Is it possible to change the default opening behaviour of Spyder and temp.py which is stored by default on C:\Users\admin.spyder-py3\temp.py

Users can change it by going to the menu Tools > Preferences and then

Editor > Advanced settings > Edit template for new files

but I think we don't have a way to change it for all users in a system.

from spyder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.