appwiki:notepadplusplus

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
appwiki:notepadplusplus [2023/02/02 09:35] – [Qt GUI and PythonScript] yingappwiki:notepadplusplus [2023/02/06 06:07] – [Integrate Your Python Script with Notepad++] ying
Line 90: Line 90:
  
   * install:   * install:
-    * from plugin manager +    * install/get latest notepad++ 
-    * or download manually and put in plugin folder from http://npppythonscript.sourceforge.net/ +    * from plugin manager, search python script, check and install 
 +    * for tkinter lib, go lastest release version: https://github.com/bruderstein/PythonScript/releases/ 
 +      * unzip PythonScript_TclTk_xxx.xxx.zip, and copy lib into npp/plugins/PythonScripts lib folder. 
 +      * (optional) unzip  PythonScript_ExtraLibs_xxxx.zip if you need lib2to3, distutils,bsddb 
 +    * (outdate) <del>or download manually and put in plugin folder from http://npppythonscript.sourceforge.net/ 
 +</del>
   * Python for Npp document   * Python for Npp document
     * http://npppythonscript.sourceforge.net/docs/latest/     * http://npppythonscript.sourceforge.net/docs/latest/
Line 250: Line 254:
   * the default loading directory for NppPythonScript plugin, any script will be automatically add to path for import <code>   * the default loading directory for NppPythonScript plugin, any script will be automatically add to path for import <code>
 npp\plugins\PythonScript\lib npp\plugins\PythonScript\lib
-npp\plugins\PythonScript\scripts +npp\plugins\PythonScript\scripts (default startup.py is here)
 npp\plugins\Config\PythonScript\lib npp\plugins\Config\PythonScript\lib
 npp\plugins\Config\PythonScript\scripts npp\plugins\Config\PythonScript\scripts
Line 353: Line 357:
 # notepad path\plugins\Config\PythonScript\scripts\startup.py # notepad path\plugins\Config\PythonScript\scripts\startup.py
 </code> and code <code python> </code> and code <code python>
-# optional clear multiple python registered path issue+# optional clear multiple python registered system path issue
 old_path = sys.path old_path = sys.path
 old_path = [x for x in old_path if not x.startswith('D:\\my_other_system_env_registered_python_path\\Python27') ] old_path = [x for x in old_path if not x.startswith('D:\\my_other_system_env_registered_python_path\\Python27') ]
  • appwiki/notepadplusplus.txt
  • Last modified: 2023/02/06 06:40
  • by ying