Why does iPhoto suddenly appear in my Trash basket, and how do I get it out?
Because you (or someone else) put it there inadvertently, I would guess. There really isn't any other way.
Drag it from there back to the Applcations Folder.
I am sure it did not just jump in there all by itself. Open the trash. Drag the program to the desktop and then to the application folder
As far as I can see, it did "jump in there all by itself". That is why I am asking the question.
I dragged it back to the application folder, so now I have an iPhoto with an icon in the application folder, and an iPhoto folder also in the applications folder.
There is no "iPhoto Folder" unless you create one.
Retrieving data ...