IDLE is for python 2.x and IDLE 3 is for python 3.x. Depending on which tutorials / examples you're following, you may want to use python 2 or 3. Google "python 2 vs 3" and you'll find lots of information about the differences. If you're following a book that is based on python 2 you'd definitely want to use IDLE / python 2.AforAlex wrote:First question is what is the difference between IDLE and IDLE 3 and which one am I best to use?
But if you do want to use Python 3.x for GPIO experimentation and RPi.GPIO is installed on Python 3 (as with me), you run 'sudo python3 programname.py' instead of 'sudo python programname.py' as the GPIO module will not be installed on Python 2.xrickseiden wrote:I've always used IDLE, which is for Python 2, and not IDLE 3 which is for Python 3.
Users browsing this forum: No registered users and 24 guests