<?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[Script issue not showing in Notepad++]]></title><description><![CDATA[<p dir="auto">Hello there.</p>
<p dir="auto">I have Python 3.12.6 and Notepad++8.6.8 just installed. Inside Notepad++, I have a very simple script like RUN $(FULL_CURRENT_PATH)<br />
. The code below works in the Python interpreter. But when I try ro run it in Notepad++, there is a quick black window that appears then goes away. I saw one post that said to have a statement in the Python script so that it waits for the user to press a key to continue. That wait for key code is the  msvcrt.getch() statement. I was wondering why I don’t see the execution of the Python script? I am all new to do and I am looking forward to learn. Any</p>
<p dir="auto">Thanks<br />
import msvcrt, os</p>
<p dir="auto">coord_a = input ("Enter coord A: ")<br />
coord_b = input ("Enter coord B: ")<br />
print ("Coord a is " + coord_a + " .Coord b is " + coord_b)<br />
print(“Press any key to continue…”)<br />
msvcrt.getch()<br />
os.system(‘cls’)</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/25932/script-issue-not-showing-in-notepad</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Jul 2026 16:48:20 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/25932.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 10 Jul 2024 19:24:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Script issue not showing in Notepad++ on Wed, 10 Jul 2024 19:49:43 GMT]]></title><description><![CDATA[<p dir="auto">@Dr-Sylvain-J-R-Garceau-Bergeron ,</p>
<p dir="auto">I am going to assume that you don’t actually type <code>RUN $(FULL_CURRENT_PATH)</code> into the <strong>Run</strong> dialog, because that’s obviously not what you’d type at a command line to get it to work – because <code>python</code> is the name of the interpreter, not <code>run</code> …</p>
<p dir="auto">When I do <strong>Run &gt; Run… &gt; <code>python "$(FULL_CURRENT_PATH)"</code></strong> , it does exactly what I’d expect with your code: it opens the cmd.exe window, prompts for the inputs, then prompts to press any key to continue, then closes after it has cleared the screen.</p>
<p dir="auto">(Note: I use quotes around the <code>$(FULL_CURRENT_PATH)</code> so that the whole path will be passed to python, even if there is a space somewhere in the directory or filename)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/95711</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/95711</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Wed, 10 Jul 2024 19:49:43 GMT</pubDate></item></channel></rss>