<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How to install and run a script in Python Script?]]></title><description><![CDATA[<p dir="auto">I followed the instructions here: <a href="https://community.notepad-plus-plus.org/topic/23039/faq-desk-how-to-install-and-run-a-script-in-pythonscript">How to install and run a script in Python Script?</a> but was unable to install Python Script on Notrpad++.<br />
I clicked Plugins→Plugins Admin→ticked the PyNPP→clicked Install. I then got a pop-up, "Notepad will be restarted after all operations are terminated. Continue? →clicked Yes→another pop-up, " Do you want to allow the following program to make changes to this computer? "→clicked Yes→another pop-up, " WinGup gor Notepad++ has stopped working " with 2 options: “Check online for a solution later and close the program” and "Close the program "<br />
Of course, I was not logged in as the Admin of my laptop.<br />
How to install and run a script in Python Script?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/25458/how-to-install-and-run-a-script-in-python-script</link><generator>RSS for Node</generator><lastBuildDate>Tue, 18 Aug 2026 14:58:40 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/25458.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 07 Feb 2024 04:03:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to install and run a script in Python Script? on Thu, 08 Feb 2024 19:11:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> OK, thanks a lot! “<code>&lt;sup&gt;.*?\[</code>” finds what I want it to find, that is “<code>&lt;sup&gt;\[</code>” with the Regular expression mode turned on. I then put “<code>&lt;sup&gt;[</code>” in the Replace with field and hit “Replace all”</p>
]]></description><link>https://community.notepad-plus-plus.org/post/92780</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/92780</guid><dc:creator><![CDATA[dr ramaanand]]></dc:creator><pubDate>Thu, 08 Feb 2024 19:11:44 GMT</pubDate></item><item><title><![CDATA[Reply to How to install and run a script in Python Script? on Thu, 08 Feb 2024 17:52:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dr-ramaanand" aria-label="Profile: dr-ramaanand">@<bdi>dr-ramaanand</bdi></a> ,</p>
<p dir="auto">Hopefully someone else will be able to help you.  I’ve spent as much time on this as I can.  Again, good luck.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/92779</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/92779</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Thu, 08 Feb 2024 17:52:27 GMT</pubDate></item><item><title><![CDATA[Reply to How to install and run a script in Python Script? on Thu, 08 Feb 2024 17:44:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> I did that and got this result:-<br />
<img src="/assets/uploads/files/1707413443729-renumberingstartingwith1.png" alt="RenumberingStartingWith1.png" class=" img-fluid img-markdown" /><br />
I think I now got to go and remove the <code>\</code> before the <code>[</code> bracket from my file in the user script directory<br />
Is there a way to edit that or should I create a new script?<br />
Of course, the easiest way around this is to find <code>&lt;sup&gt;\</code> and replace it with <code>&lt;sup&gt;</code><br />
Unfortunately, I am unable to find <code>&lt;sup&gt;\</code> in either the Normal mode or the Regular Expression mode</p>
]]></description><link>https://community.notepad-plus-plus.org/post/92778</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/92778</guid><dc:creator><![CDATA[dr ramaanand]]></dc:creator><pubDate>Thu, 08 Feb 2024 17:44:04 GMT</pubDate></item><item><title><![CDATA[Reply to How to install and run a script in Python Script? on Thu, 08 Feb 2024 17:19:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dr-ramaanand" aria-label="Profile: dr-ramaanand">@<bdi>dr-ramaanand</bdi></a> said in <a href="/post/92776">How to install and run a script in Python Script?</a>:</p>
<blockquote>
<p dir="auto">I did all that was asked to be done in that FAQ. Now how to Renumber …</p>
</blockquote>
<p dir="auto">The “USAGE” section in the FAQ explains how to run the script.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/92777</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/92777</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Thu, 08 Feb 2024 17:19:18 GMT</pubDate></item><item><title><![CDATA[Reply to How to install and run a script in Python Script? on Thu, 08 Feb 2024 17:16:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> Yes, that helped. Thanks! I did all that was asked to be done in that FAQ. Now how to Renumber every &lt;sup&gt;followed by a number, starting with 1 in my file?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/92776</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/92776</guid><dc:creator><![CDATA[dr ramaanand]]></dc:creator><pubDate>Thu, 08 Feb 2024 17:16:08 GMT</pubDate></item><item><title><![CDATA[Reply to How to install and run a script in Python Script? on Thu, 08 Feb 2024 17:01:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dr-ramaanand" aria-label="Profile: dr-ramaanand">@<bdi>dr-ramaanand</bdi></a> said in <a href="/post/92774">How to install and run a script in Python Script?</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> said in <a href="/post/92773">How to install and run a script in Python Script?</a>:</p>
<blockquote>
<p dir="auto">FAQ: How to Install and Run A Script in PythonScript</p>
</blockquote>
<p dir="auto">In the above, I think point no.1. Create a new script should mention, “script” directory, not, “user script” directory</p>
</blockquote>
<p dir="auto">It should not.  The “user script” directory is well defined in the FAQ.</p>
<p dir="auto"><img src="/assets/uploads/files/1707411558970-5f0add02-26f0-478b-8c3b-903716ab3bf0-image.png" alt="5f0add02-26f0-478b-8c3b-903716ab3bf0-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">That superscript ¹ is a clickable footnote.  And if you follow that click, it goes to<br />
<img src="/assets/uploads/files/1707411633688-61a9cc43-a617-4d87-a7a6-cb8d22558eae-image.png" alt="61a9cc43-a617-4d87-a7a6-cb8d22558eae-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">I circled the relevant section for you.  I hope this helps.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/92775</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/92775</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Thu, 08 Feb 2024 17:01:14 GMT</pubDate></item><item><title><![CDATA[Reply to How to install and run a script in Python Script? on Thu, 08 Feb 2024 16:49:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> said in <a href="/post/92773">How to install and run a script in Python Script?</a>:</p>
<blockquote>
<p dir="auto">FAQ: How to Install and Run A Script in PythonScript</p>
</blockquote>
<p dir="auto">In the above, I think point no.1. Create a new script should mention, “script” directory, not, “user script” directory</p>
]]></description><link>https://community.notepad-plus-plus.org/post/92774</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/92774</guid><dc:creator><![CDATA[dr ramaanand]]></dc:creator><pubDate>Thu, 08 Feb 2024 16:49:21 GMT</pubDate></item><item><title><![CDATA[Reply to How to install and run a script in Python Script? on Thu, 08 Feb 2024 16:01:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dr-ramaanand" aria-label="Profile: dr-ramaanand">@<bdi>dr-ramaanand</bdi></a> ,</p>
<p dir="auto">I have no clue how you made it do that – sounds like you’ve done some strange configuration to your Windows 7 setup to get it to give an error like that.  Just open <code>c:\program files\notepad++\plugins\PythonScript\doc\index.html</code> in your favorite browser and use that for referencing the PythonScript documentation instead of using the menu option.</p>
<p dir="auto">But just so we are clear: <strong>Reading the documentation to see the original source of the <code>add_1</code> script has <em>nothing</em> to do with <em>running</em> the script</strong>.  The <a href="/topic/23039/faq-desk-how-to-install-and-run-a-script-in-pythonscript">FAQ: How to Install and Run A Script in PythonScript</a> tells you the step-by-step instructions for how to install and run the script.  I think you need to focus on that, before trying to read the documentation and see where the script was derived from.</p>
<p dir="auto">Also, to be clear: if you have more difficulty in trying to follow the instructions and trying to get the script to run, you’ll have to hope that someone else here will be able to reply, because I’ve given you as much information as I can.  Good luck.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/92773</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/92773</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Thu, 08 Feb 2024 16:01:40 GMT</pubDate></item><item><title><![CDATA[Reply to How to install and run a script in Python Script? on Thu, 08 Feb 2024 15:43:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> I couldn’t do it on that system, so I tried doing it from my other laptop, but I am getting this error:-<br />
<img src="/assets/uploads/files/1707406877069-screenshot-9.png" alt="Screenshot (9).png" class=" img-fluid img-markdown" /><br />
This is the DeBug Info of the other laptop which I’m trying to use now:-<br />
<img src="/assets/uploads/files/1707406914239-debuginfo.png" alt="DeBugInfo.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.notepad-plus-plus.org/post/92772</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/92772</guid><dc:creator><![CDATA[dr ramaanand]]></dc:creator><pubDate>Thu, 08 Feb 2024 15:43:10 GMT</pubDate></item><item><title><![CDATA[Reply to How to install and run a script in Python Script? on Wed, 07 Feb 2024 18:56:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dr-ramaanand" aria-label="Profile: dr-ramaanand">@<bdi>dr-ramaanand</bdi></a> said in <a href="/post/92753">How to install and run a script in Python Script?</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> OK, so how do I do <strong>Plugins &gt; Python Script &gt; Context-Help, then choose Editor Object, and go to the editor.rereplace() section</strong> ?</p>
</blockquote>
<p dir="auto">I still am not sure what you intend by this sentence – that instruction isn’t in the FAQ, <s>so I’m not sure where you’re getting it (unless it’s from the actual script that you’re trying to install).</s>  <em>Update: I did some more searching: that was a line from the mathematical replacement FAQ; the next paragraph below correctly interprets my sentence from that second FAQ</em></p>
<p dir="auto">It is literally telling you: click the <strong>Plugins</strong> menu, click <strong>PythonScript</strong> then click <strong>Contenxt-Help</strong>, then go click on the <strong>Editor Object</strong>, then search the page for <code>editor.rereplace</code>, and you will find the help so that you can learn more about the <code>editor.rereplace()</code> command.  <em>Addendum: That was not part of the instructions on how to run it; that was part of the instructions on how to learn more about the commands involved, so that you can learn during the experience, and learn how to customize the example scripts, because we aren’t going to always spoonfeed you.</em></p>
<blockquote>
<p dir="auto">How do I add this script and run it ?:-<br />
I’m trying to replace <code>&lt;sup&gt;[0]&lt;/sup&gt;</code> with <code>&lt;sup&gt;[1]&lt;/sup&gt;</code> and renumber the rest as <code>&lt;sup&gt;[2]&lt;/sup&gt;</code>, <code>&lt;sup&gt;[3]&lt;/sup&gt;</code>, <code>&lt;sup&gt;[4]&lt;/sup&gt;</code>, <code>&lt;sup&gt;[5]&lt;/sup&gt;</code>, <code>&lt;sup&gt;[6]&lt;/sup&gt;</code>, <code>&lt;sup&gt;[7]&lt;/sup&gt;</code> and so on</p>
</blockquote>
<p dir="auto">Your script looks like it’s a good starting place, based on the example scripts you copied it from.</p>
<p dir="auto">Then follow the instructions from the FAQ to create a new script, giving it a meaningful name, paste your script which you just showed into it, save it, and run it.  The FAQ gives step-by-step, point-by-point instructions for how to do this, and I cannot say it any better than it’s already described in the FAQ.</p>
<p dir="auto">-—</p>
<p dir="auto"><em><strong>Please note</strong>: This Community Forum is not a data transformation or free-code-writing service; you should not expect to be able to always say “I have data like X and want it to look like Y” and have us do all the work for you.  If you are new to the Forum, and the problem can be easily solved with a regular expression, we’ll likely give you a start on that.  And if it requires scripting (more complex logic than can easily be done in a regular expression), we will let you know. If your problem catches the interest of one of the regulars, that person may even provide an example script that may be helpful; often times, we might even ask you to search the forum for a particular term, because that term will likely help you find a script that already implements something similar.  Whether it’s a previously-written script, or whether one of us hacks something up for you specifically, it won’t always exactly match your problem, but it’s at least a starting point for you to work from.  At that point, you are expected to take the lead, and make any changes to the example that are necessary to convert it from what was provided to something that meets you exact needs.  This forum is focused on Notepad++; while you may <em>want</em> to use Notepad++ for the implementation, text editors aren’t always the right tool for complex text transformation tasks: since you are seeing this boilerplate in my reply, it means that I believe that it’s essentially a generic programming challenge, which is off topic for a Notepad++-specific forum.</em></p>
]]></description><link>https://community.notepad-plus-plus.org/post/92756</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/92756</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Wed, 07 Feb 2024 18:56:03 GMT</pubDate></item><item><title><![CDATA[Reply to How to install and run a script in Python Script? on Wed, 07 Feb 2024 18:37:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> OK, so how do I do <strong>Plugins &gt; Python Script &gt; Context-Help, then choose Editor Object, and go to the editor.rereplace() section</strong> ?<br />
How do I add this script and run it ?:-</p>
<pre><code># encoding=utf-8
from Npp import *

def custom_replace_func(m):
    new_text = "&lt;sup&gt;\[{}".format(custom_replace_func.counter)
    custom_replace_func.counter += custom_replace_func.increment
    return new_text

custom_replace_func.counter = 1  # starting value
custom_replace_func.increment = 1
editor.rereplace(r'&lt;sup&gt;\[(\d+)', custom_replace_func)
</code></pre>
<p dir="auto">I’m trying to replace <code>&lt;sup&gt;[0]&lt;/sup&gt;</code> with <code>&lt;sup&gt;[1]&lt;/sup&gt;</code> and renumber the rest as <code>&lt;sup&gt;[2]&lt;/sup&gt;</code>, <code>&lt;sup&gt;[3]&lt;/sup&gt;</code>, <code>&lt;sup&gt;[4]&lt;/sup&gt;</code>, <code>&lt;sup&gt;[5]&lt;/sup&gt;</code>, <code>&lt;sup&gt;[6]&lt;/sup&gt;</code>, <code>&lt;sup&gt;[7]&lt;/sup&gt;</code> and so on</p>
]]></description><link>https://community.notepad-plus-plus.org/post/92753</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/92753</guid><dc:creator><![CDATA[dr ramaanand]]></dc:creator><pubDate>Wed, 07 Feb 2024 18:37:41 GMT</pubDate></item><item><title><![CDATA[Reply to How to install and run a script in Python Script? on Wed, 07 Feb 2024 18:21:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dr-ramaanand" aria-label="Profile: dr-ramaanand">@<bdi>dr-ramaanand</bdi></a> said,</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mark-olson" aria-label="Profile: Mark-Olson">@<bdi>Mark-Olson</bdi></a> I’ve seen your posts about using the Python Script. Peter might be busy, so maybe you can help?</p>
</blockquote>
<p dir="auto">Have a bit of patience. There is no guaranteed response time.  We are all just fellow Notepad++ users, none of us are employed by Notepad++ , and so we are not paid to help each other, and we all have lives outside of this forum.  If you don’t get a reply within a <em>day</em> or two, then it makes sense to ping again to see if anyone else can join in.  If it’s only a matter of minutes or hours that you are left waiting, it just means you need to be patient.</p>
<blockquote>
<p dir="auto"><code>editor.rereplace(r'&lt;sup&gt;[(\d+)', custom_replace_func)</code></p>
</blockquote>
<p dir="auto">That regex wouldn’t work to match <code>&lt;sup&gt;[1</code> in a Notepad++ regular expression, so I’m not sure why you think that it would work to match that same text in a PythonScript regular expression.   The bracket <code>[</code> is special to most regex engines, so you have to escape it, like <code>\[</code></p>
<p dir="auto">-----</p>
<p dir="auto">regarding your installation problems: my guess is it’s a permissions issue or a Win7 issue.</p>
<ul>
<li>
<p dir="auto">You might have to download and run the installer by right clicking and saying “run as administrator” while Notepad++ is not running, rather than trying to just use the <strong>? &gt; Update Notepad++</strong> command inside Notepad++.</p>
</li>
<li>
<p dir="auto">And you are on Windows 7, which <a href="https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/SUPPORTED_SYSTEM.md" rel="nofollow ugc">per official “SUPPORTED OS” list</a> is NOT a supported OS for Notepad++ anymore.  It <em>should</em> still work, but the developer does not test on Win7, and does not guarantee on Win7; you use Win7 to your own risk.  (Microsoft says the same thing: Win7 is no longer supported by its creator!  That should tell you something.)</p>
</li>
<li>
<p dir="auto"><em>Addendum</em>: The error you are showing is a TLS issue, which is website security (https://) problem.  It may be that Windows 7 doesn’t have the necessary libraries to safely download from a modern https:// website.  In which case, my earlier suggestion of manually downloading the installer (from <a href="https://notepad-plus-plus.org/downloads/" rel="nofollow ugc">https://notepad-plus-plus.org/downloads/</a>)  and running it manually rather than through the Notepad++ <strong>?</strong>-menu’s <strong>Update Notepad++</strong> action might be your only choice.</p>
</li>
</ul>
]]></description><link>https://community.notepad-plus-plus.org/post/92752</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/92752</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Wed, 07 Feb 2024 18:21:54 GMT</pubDate></item><item><title><![CDATA[Reply to How to install and run a script in Python Script? on Wed, 07 Feb 2024 17:10:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mark-olson" aria-label="Profile: Mark-Olson">@<bdi>Mark-Olson</bdi></a> I’ve seen your posts about using the Python Script. Peter might be busy, so maybe you can help?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/92749</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/92749</guid><dc:creator><![CDATA[dr ramaanand]]></dc:creator><pubDate>Wed, 07 Feb 2024 17:10:33 GMT</pubDate></item><item><title><![CDATA[Reply to How to install and run a script in Python Script? on Wed, 07 Feb 2024 17:06:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> Now how do I do <strong>Plugins &gt; Python Script &gt; Context-Help, then choose Editor Object, and go to the editor.rereplace() section</strong> ?<br />
How do I add this script and run it ?:-</p>
<pre><code># encoding=utf-8
from Npp import *

def custom_replace_func(m):
    new_text = "zone_{}".format(custom_replace_func.counter)
    custom_replace_func.counter += custom_replace_func.increment
    return new_text

custom_replace_func.counter = 1  # starting value
custom_replace_func.increment = 1
editor.rereplace(r'zone_(\d+)', custom_replace_func)
</code></pre>
<p dir="auto">I’m trying to replace <code>&lt;sup&gt;[0]&lt;/sup&gt;</code> with <code>&lt;sup&gt;[1]&lt;/sup&gt;</code> and renumber the rest as <code>&lt;sup&gt;[2]&lt;/sup&gt;</code>, <code>&lt;sup&gt;[3]&lt;/sup&gt;</code>, <code>&lt;sup&gt;[4]&lt;/sup&gt;</code>, <code>&lt;sup&gt;[5]&lt;/sup&gt;</code>, <code>&lt;sup&gt;[6]&lt;/sup&gt;</code>, <code>&lt;sup&gt;[7]&lt;/sup&gt;</code> and so on, so I should probably tweak your script to:-</p>
<pre><code># encoding=utf-8
from Npp import *

def custom_replace_func(m):
    new_text = "&lt;sup&gt;[{}".format(custom_replace_func.counter)
    custom_replace_func.counter += custom_replace_func.increment
    return new_text

custom_replace_func.counter = 1  # starting value
custom_replace_func.increment = 1
editor.rereplace(r'&lt;sup&gt;[(\d+)', custom_replace_func)
</code></pre>
]]></description><link>https://community.notepad-plus-plus.org/post/92747</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/92747</guid><dc:creator><![CDATA[dr ramaanand]]></dc:creator><pubDate>Wed, 07 Feb 2024 17:06:34 GMT</pubDate></item><item><title><![CDATA[Reply to How to install and run a script in Python Script? on Wed, 07 Feb 2024 16:40:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> When I try to update Notepad++, I get this error:-<br />
<img src="/assets/uploads/files/1707323107103-notupdatingerror.png" alt="NotUpdatingError.PNG" class=" img-fluid img-markdown" /><br />
This is the DeBug Info:-<br />
<img src="/assets/uploads/files/1707323299059-debuginfo.png" alt="DebugInfo.PNG" class=" img-fluid img-markdown" /><br />
OK,I uninstalled and re-installed Notepad++ and this is the new DeBug Info:-<br />
<img src="/assets/uploads/files/1707323888228-88547bd1-2d89-471e-8ff7-19960e164da2-image.png" alt="88547bd1-2d89-471e-8ff7-19960e164da2-image.png" class=" img-fluid img-markdown" /><br />
I was now able to install the Python Script!<br />
However, I’m still unable to Update Notepad++. The first screenshot shows what error is being shown as a pop-up!</p>
]]></description><link>https://community.notepad-plus-plus.org/post/92746</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/92746</guid><dc:creator><![CDATA[dr ramaanand]]></dc:creator><pubDate>Wed, 07 Feb 2024 16:40:25 GMT</pubDate></item><item><title><![CDATA[Reply to How to install and run a script in Python Script? on Wed, 07 Feb 2024 16:17:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dr-ramaanand" aria-label="Profile: dr-ramaanand">@<bdi>dr-ramaanand</bdi></a> ,</p>
<p dir="auto">Please share your <strong>?</strong>-menu’s <strong>Debug Info</strong>.  Without knowing what version of Notepad++ you are using, we cannot replicate your problem.</p>
<p dir="auto">Your Plugins Admin screenshot shows your Notepad++ version is <em>way</em> out of date: it’s missing the Plugin List Version in the lower-right corner – which was <a href="https://github.com/notepad-plus-plus/notepad-plus-plus/wiki/Changes#846" rel="nofollow ugc">added in v8.4.6</a> in the Fall of 2022.  Are you seriously on a version of Notepad++ that’s more than 1.5 years out of date?</p>
<p dir="auto">That said, PythonScript plugin was available even back then [plugin version 2.0.0 was released in Feb 2022] – so there may be something even more wrong with you installation than just the ancient revision.  But until you tell us more about your out-of-date Notepad++ installation (Debug Info), we cannot begin to try to replicate your non-standard setup to see what is going wrong for you.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/92745</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/92745</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Wed, 07 Feb 2024 16:17:32 GMT</pubDate></item><item><title><![CDATA[Reply to How to install and run a script in Python Script? on Wed, 07 Feb 2024 15:20:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a><br />
<img src="/assets/uploads/files/1707318986440-capturescreen1.png" alt="CaptureScreen1.PNG" class=" img-fluid img-markdown" /><br />
is what is shown in the “Available” dropdown and<br />
<img src="/assets/uploads/files/1707319030661-capturescreen2.png" alt="CaptureScreen2.PNG" class=" img-fluid img-markdown" /><br />
is what is shown in the installed dropdown</p>
<p dir="auto">The updates dropdown is blank!</p>
]]></description><link>https://community.notepad-plus-plus.org/post/92736</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/92736</guid><dc:creator><![CDATA[dr ramaanand]]></dc:creator><pubDate>Wed, 07 Feb 2024 15:20:48 GMT</pubDate></item><item><title><![CDATA[Reply to How to install and run a script in Python Script? on Wed, 07 Feb 2024 14:30:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dr-ramaanand" aria-label="Profile: dr-ramaanand">@<bdi>dr-ramaanand</bdi></a> said in <a href="/post/92731">How to install and run a script in Python Script?</a>:</p>
<blockquote>
<p dir="auto">There Is no Python script in the drop down options</p>
</blockquote>
<p dir="auto">A screenshot would have been really helpful.  Because if I open up a 32bit Notepad++, I <em>do</em> see it there.<br />
<img src="/assets/uploads/files/1707316027516-d8f448bb-ea3e-440f-accf-5a04fe0793a8-image.png" alt="d8f448bb-ea3e-440f-accf-5a04fe0793a8-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">But my guess is that if you don’t see it in the <strong>Available</strong> tab, it’s probably in the <strong>Installed</strong> tab, like this screenshot from my normal-use Notepad++:<br />
<img src="/assets/uploads/files/1707316119424-dafbe0af-d144-4553-8ae3-4c1530b09c1e-image.png" alt="dafbe0af-d144-4553-8ae3-4c1530b09c1e-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">And if it’s not on either of those tabs, check the <strong>Updates</strong> or <strong>Incompatible</strong> tabs (though it shouldn’t be on the <strong>Incompatible</strong> tab).</p>
<p dir="auto">If it’s already installed, you don’t need to install it again.  Step 0 in the instructions is only there for " if you don’t have it already".  If you do have it already, you can skip step 0.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/92732</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/92732</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Wed, 07 Feb 2024 14:30:46 GMT</pubDate></item><item><title><![CDATA[Reply to How to install and run a script in Python Script? on Wed, 07 Feb 2024 14:22:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> There Is no Python script in the drop down options</p>
]]></description><link>https://community.notepad-plus-plus.org/post/92731</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/92731</guid><dc:creator><![CDATA[dr ramaanand]]></dc:creator><pubDate>Wed, 07 Feb 2024 14:22:54 GMT</pubDate></item><item><title><![CDATA[Reply to How to install and run a script in Python Script? on Wed, 07 Feb 2024 14:20:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> I can’t see</p>
<pre><code>Plugins &gt; Plugins Admin
checkmark PythonScript
click Install
</code></pre>
]]></description><link>https://community.notepad-plus-plus.org/post/92730</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/92730</guid><dc:creator><![CDATA[dr ramaanand]]></dc:creator><pubDate>Wed, 07 Feb 2024 14:20:39 GMT</pubDate></item><item><title><![CDATA[Reply to How to install and run a script in Python Script? on Wed, 07 Feb 2024 14:02:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dr-ramaanand" aria-label="Profile: dr-ramaanand">@<bdi>dr-ramaanand</bdi></a> said in <a href="/post/92727">How to install and run a script in Python Script?</a>:</p>
<blockquote>
<p dir="auto">Yes, that was what was showing up</p>
</blockquote>
<p dir="auto">PyNPP != PythonScript.</p>
<p dir="auto">PyNPP is a 32-bit-only plugin that appears to be intended to make it easy to run <em>normal</em> python programs from inside Notepad++, but has nothing to do with the PythonScript plugin which is intended for automating Notepad++.</p>
<p dir="auto">The <a href="/topic/23039">How to install and run a script in Python Script?</a> FAQ says <em>nothing</em> about “PyNPP”, and if you think it does, you need to read the instructions (especially step 0) again.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/92729</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/92729</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Wed, 07 Feb 2024 14:02:08 GMT</pubDate></item><item><title><![CDATA[Reply to How to install and run a script in Python Script? on Wed, 07 Feb 2024 14:00:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: Alan-Kilborn">@<bdi>Alan-Kilborn</bdi></a> Yes, that was what was showing up. It was showing that option only to install Python scripts. Anyway, I uninstalled and re-installed Notepad++ and it has been installed now</p>
]]></description><link>https://community.notepad-plus-plus.org/post/92727</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/92727</guid><dc:creator><![CDATA[dr ramaanand]]></dc:creator><pubDate>Wed, 07 Feb 2024 14:00:08 GMT</pubDate></item><item><title><![CDATA[Reply to How to install and run a script in Python Script? on Wed, 07 Feb 2024 11:47:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dr-ramaanand" aria-label="Profile: dr-ramaanand">@<bdi>dr-ramaanand</bdi></a> said in <a href="/post/92719">How to install and run a script in Python Script?</a>:</p>
<blockquote>
<p dir="auto">ticked the PyNPP</p>
</blockquote>
<p dir="auto">PyNPP ??</p>
]]></description><link>https://community.notepad-plus-plus.org/post/92723</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/92723</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Wed, 07 Feb 2024 11:47:02 GMT</pubDate></item></channel></rss>