hello... noob here in all things... but here is my question. I want to create a shutdown button, but I think the FAQ from 2013 is out of date on FAQ section (2013)... if I have installed piplay on the latest raspian, do I have all the python libraries etc or do I need to install something first? I tried entering in "sudo idle3 &" in the terminal and I get an error related to "no display name and no $DISPLAY environment variable" Do I need to install something before I can create a python program? thanks
no, you don't need to install anything, raspbian comes pre-installed with both python 2.7.2 and python 3.x. I think that you need to run idle from inside of X though. You can actually use any text editor to write python code. I use Notepad++ on my pc. It has an FTP plugin so I can save all of my python scripts directly to my raspberry pi.