Python Script support in versions of npp > 7.9.2
-
pssst, Alan, are you there?
-
Ummmm…yes?
-
how do you use PS? With local python installation?
-
-
python comes with python27.dll but you can use a local python installation if
you go to plugins->pythonscript->configuration and check prefer installed python …
Of course, you would do this only, if you have python installed locally.
If this is the case, then this might be of interest for you. -
Oh, yes, now I recall that. I have never felt the need to do that because the only Python 2.7 I’ve ever had on my system is the one that comes with Notepad++'s Pythonscript. Everything else I do is (and is mandated by my company to be done in) Python3!
-
@andrecool-68 Thanks for that. I will give it a try. (I use 32bit NPP anyway, so the 64bit incompatibility will not be an issue).
-
@andrecool-68 Just tried this and it didn’t work.
My Notepad++/plugins folder already contains the PythonScript.dll and PythonScript folder, but I went and tried doing the minimal update of 7.7 and PythonScript plugins disappears. I repeated this process, going backwards through versions of NPP, i.e. 7.6.6, 7.6.4, and its only when 7.6.2 is installed that the PythonScript plugin re-appears. -
that sounds strange, indeed.
How did you install 7.7?
Can you post the debug-info from the ? menu (the last menu item of npp)? -
@Yodadude said:
My Notepad++/plugins folder already contains the PythonScript.dll and PythonScript folder, but I went and tried doing the minimal update of 7.7 and PythonScript plugins disappears. I repeated this process, going backwards through versions of NPP, i.e. 7.6.6, 7.6.4, and its only when 7.6.2 is installed that the PythonScript plugin re-appears.
Which tells me that your copy of PythonScript (PythonScript.dll) is at
plugins\PythonScript.dll
, which was the old location for NPP < v7.6.3, rather than atplugins\PythonScript\PythonScript.dll
, for NPP >= v7.6.3. Please follow @Meta-Chuh 's “Guide: How to install the PythonScript plugin on Notepad++ 7.6.3, 7.6.4 and above” -
That worked a treat!
Thanks.