<?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[Updated Autocomplete for Python 3]]></title><description><![CDATA[<p dir="auto">I’ve been using NPP as my Python editor ever since I started learning it. I first learned Python 2.7, and NPP has support for Python 2.7’s syntax, and hints on what functions do when I typing them (like telling me what parameters I need). This was all very helpful when learning, and is something I still appreciate.</p>
<p dir="auto">However, I have recently updated to Python 3.7, and there are some changes between these versions. NPP still gives me suggestions as though I’m using Python 2.7, even though I don’t even have it installed on my computer anymore.</p>
<p dir="auto">This is best seen when getting user input. In Python 2.7, input() was a function that would only accept and return integers as input, and raw_input() was a function that would accept any input because it would be returned as a string.<br />
In Python 3.7, there is no such function as raw_input(). It was removed, and now input() uses strings instead of integers.<br />
However, NPP still tells me that input() returns an integer (in a round-a-bout sort of way) and that a function called raw_input() exists and returns a string.</p>
<p dir="auto"><strong>How do I make NPP give suggestions for Python 3 instead of Python 2?</strong></p>
]]></description><link>https://community.notepad-plus-plus.org/topic/18489/updated-autocomplete-for-python-3</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 22:13:26 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/18489.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 11 Nov 2019 02:18:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Updated Autocomplete for Python 3 on Mon, 11 Nov 2019 19:22:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/16961">@Noah-Black</a></p>
<p dir="auto">There was also a recent issue filed regarding this: <a href="https://github.com/notepad-plus-plus/notepad-plus-plus/issues/6259" rel="nofollow ugc">https://github.com/notepad-plus-plus/notepad-plus-plus/issues/6259</a> “Fix keywords list according to Python 3”</p>
]]></description><link>https://community.notepad-plus-plus.org/post/48437</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/48437</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Mon, 11 Nov 2019 19:22:07 GMT</pubDate></item><item><title><![CDATA[Reply to Updated Autocomplete for Python 3 on Mon, 11 Nov 2019 14:27:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14479">@Ekopalypse</a> gave a good starting place.  If you’d like more details, see the <a href="https://npp-user-manual.org/" rel="nofollow ugc">Notepad++ UserManaual</a>, especially:</p>
<ul>
<li><a href="https://npp-user-manual.org/docs/auto-completion/#create-auto-completion-definition-files" rel="nofollow ugc">auto-completion</a></li>
<li><a href="https://npp-user-manual.org/docs/config-files/#keyword-lists-langs-xml" rel="nofollow ugc">langs.xml details</a></li>
<li><a href="https://npp-user-manual.org/docs/config-files/#highlighting-schemes-stylers-xml" rel="nofollow ugc">themes.xml details</a> and the <a href="https://npp-user-manual.org/docs/themes/" rel="nofollow ugc">themes overview</a></li>
</ul>
]]></description><link>https://community.notepad-plus-plus.org/post/48434</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/48434</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Mon, 11 Nov 2019 14:27:17 GMT</pubDate></item><item><title><![CDATA[Reply to Updated Autocomplete for Python 3 on Mon, 11 Nov 2019 13:54:54 GMT]]></title><description><![CDATA[<p dir="auto">The autoComplete files are available within autoCompletion directory.<br />
The file you are looking for is called python.xml.<br />
In addition you might add/change the langs.xml file, or in case you use a theme different to default theme the THEME_NAME.xml from theme directory, in order to get the new keywords.<br />
Note, <strong>adding</strong> keywords can also be done by using the gui<br />
<em><strong>Settings-&gt;Style Configurator-&gt;Language(Python)-&gt;Style(KEYWORDS)</strong></em></p>
]]></description><link>https://community.notepad-plus-plus.org/post/48431</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/48431</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Mon, 11 Nov 2019 13:54:54 GMT</pubDate></item></channel></rss>