Updating python IDLE to 3.5
<p>I currently use python 3.2.3 in the IDLE (which I open from 'python 3', 'programming', 'menu') on my Raspberry Pi.
In an attempt to solve <a href="https://github.com/Zulko/moviepy/issues/322" rel="nofollow">this problem</a> I am trying to get my IDLE to run python 3.5.</p>

<p>I have got Python 3.5 to run if I enter into the terminal </p>

<pre><code>python3
</code></pre>

<p>but the IDLE still uses Python 3.2.3</p>

<p>Any thoughts?</p>

<hr>

<p>EDIT:
I realise it is actually a duplicate to <a href="http://stackoverflow.com/questions/37079195/how-do-you-update-to-the-latest-python-3-5-1-version-on-a-raspberry-pi">this</a> question, but because the asker didn't specify that they wanted the IDLE version, the answerers didn't answer the question how it was intended.</p>

<p>This is because Raspbian (or whatever OS you're using) depends on those pre-installed versions of Python and later versions are not available via <code>apt-get</code> for good reason. </p>

<p>Edit:</p>

<p>I see you've already got Python 3.5 installed. To get IDLE to use the appropriate version, you need to set IDLE to use that version of Python by changing the shebang line in the IDLE-python file. This is probably located somewhere like <code>/usr/bin/idle-python3.2</code></p>

<p>The contents of the file will look something like this:</p>

<pre><code>#! /usr/bin/python3.2

from idlelib.PyShell import main
if __name__ == '__main__':
    main()
</code></pre>

<p>So you should edit it to the version you'd like to use defaultly.</p>

<pre><code>#! /usr/bin/python3.5

from idlelib.PyShell import main
if __name__ == '__main__':
    main()
</code></pre>

<p>Alternatively, make  an <em>additional</em> IDLE that points to 3.5</p>

python linux python-3.x raspberry-pi