Config directory

david
2014-01-17
2014-01-27
  • david

    david - 2014-01-17

    Does anyone know how to obtain the Config directory (location scripts are installed in Notepad++) from within a script?

     
  • Dave Brotherstone

    notepad.getPluginConfigDir() will get you the plugin config directory, which is the base path for the scripts. Append PythonScript\scripts to that, and you have it

    import os
    scripts_path = os.path.join(notepad.getPluginConfigDir(), "PythonScript\\scripts")
    

    Apologies for the delay in response.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks