<?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[Notepad++ seems to be stuck on Python27]]></title><description><![CDATA[<p dir="auto">Hello!  So, apparently, my Notepad++ is very stubborn.  It doesn’t want to switch to Python3, which is what I need for my latest project.  Is there any way to switch it over?  Maybe deleting Python2?</p>
<p dir="auto">Also, if it’s important, Python3 was added to the PATH, and Python2 was not.  Also, they are in entirely different file locations.  I don’t need Python2 anymore.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/12850/notepad-seems-to-be-stuck-on-python27</link><generator>RSS for Node</generator><lastBuildDate>Fri, 12 Jun 2026 02:13:19 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/12850.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 04 Dec 2016 13:49:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Notepad++ seems to be stuck on Python27 on Mon, 05 Dec 2016 22:06:08 GMT]]></title><description><![CDATA[<p dir="auto">Do you mean how to change Window’s <code>PATH</code> variable from pointing to  Python27 to Python35?  That’s a Windows question, not a Notepad++ question, and one that your original post implied you knew how to do.  And 30seconds on your favorite search engine will tell you: search for “change path WindowsN” (where N is 7, 8, or 10, as appropriate for your machine).</p>
<p dir="auto">If you mean how to change the path in the command snippet I showed, instead of typing <code>c:\path\to\python3.exe</code>, you would type the actual path to your installation of python3.  I cannot know where that is on your computer (though <code>c:\python35\python.exe</code> is my first guess)</p>
<p dir="auto">If you mean something else, you’ll have to be more explicit.  Because, once again, you haven’t said how you previously ran python27 from NPP, and other than a copy/paste of my text, haven’t shown what you’ve tried to get python35 to work.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/19710</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/19710</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Mon, 05 Dec 2016 22:06:08 GMT</pubDate></item><item><title><![CDATA[Reply to Notepad++ seems to be stuck on Python27 on Mon, 05 Dec 2016 21:18:30 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:</p>
<blockquote>
<p dir="auto">cmd /c c:\path\to\python3.exe "$(FULL_CURRENT_PATH)</p>
</blockquote>
<p dir="auto">Alright, so I asked my computer science teacher this question earlier, and I now have a more precise question to ask.  And it is, how do I change the path from Python27 to Python35?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/19708</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/19708</guid><dc:creator><![CDATA[Keto Z]]></dc:creator><pubDate>Mon, 05 Dec 2016 21:18:30 GMT</pubDate></item><item><title><![CDATA[Reply to Notepad++ seems to be stuck on Python27 on Mon, 05 Dec 2016 14:25:31 GMT]]></title><description><![CDATA[<p dir="auto">Notepad++ doesn’t “use” Python directly.  Do you mean that the Python Script plugin, which uses Python 2.7 under the hood to automate tasks within Notepad++, and shouldn’t affect the version of Python your scripts use?  Or do you mean you are using NPP as the text editor and/or simple development environment for your Python development – in which case, I assume you had some macros (<code>Plugins &gt; NppExec</code> scripts, <code>Run &gt; Run</code> to execute this file, or similar) or a standalone plugin that automatically ran your script thru the Python 2.7 interpreter and put the output in a “console”-like window either within NPP or as an external <code>cmd.exe</code> window.</p>
<p dir="auto">If you’re talking about the Python Script plugin, I know it ships with its own Python DLL, but you can point it to another; I don’t know if it’s compatible with Python3.</p>
<p dir="auto">If you’re talking about <code>Run &gt; Run &gt; cmd /c $(FULL_CURRENT_PATH)</code>, then it’s making use of your OS’s automatic file type association with Python.  The same is true if you’ve got a <code>Plugins &gt; NppExec &gt; Execute &gt; [pulldown to script name]</code> that runs something like my “RunMyself” (and which I have placed in the <code>Macro</code> shortcut menu with <code>NppExec &gt; Advanced Options &gt; Menu Items</code>, and have added a shortcut using the <code>Settings &gt; Shortcut Mapper &gt; Plugin Commands</code>):</p>
<pre><code>cd "$(CURRENT_DIRECTORY)"
cmd /c "$(FULL_CURRENT_PATH)"
</code></pre>
<p dir="auto">… To fix either <code>Run &gt; Run</code> or an NppExec script, you either need to re-associate your python files with the new Python3 executable, or you need to edit your Run or NppExec commands to use a full path to your Python3 executable, instead of just trying to execute the source file directly.  (for example, change <code>cmd /c "$(FULL_CURRENT_PATH)"</code> to <code>cmd /c c:\path\to\python3.exe "$(FULL_CURRENT_PATH)</code>)</p>
<p dir="auto">If you’re talking about some other plugin that you use to run your python code from within NPP, you’ll need to give more details.</p>
<p dir="auto">If you really have python2 still on your computer, and none of the above work, and you truly “don’t need Python2 anymore”, have you tried uninstalling Python2?</p>
<p dir="auto">But all of these are just guesses; more details would help us help you.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/19700</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/19700</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Mon, 05 Dec 2016 14:25:31 GMT</pubDate></item></channel></rss>