I am trying to run a simple 'hello world" py file in Eclipse and the file opens with gedit or gvim and i cant seem to get it to run. So I installed Eclipse and I cant seem to get the py file I select to open in the Eclipse IDE ... attempting to install py dev to fix this
Eclipse doesn't come by default with a python-editing environment.
You probably want to install the PyDev addon. See the link for how to get it via the eclipse addon manager - it isn't available through the Ubuntu repositories.
EDIT: Re-reading the question, I may have misunderstood. I'm not clear if the question is:
.py
files to be opened with eclipse rather thangedit/gvim
?