Bobbing Camera?

How can i make the camera bob when i walk or make an object bob too

What’s better F-Curves(IPO) or Script?

Well, the one you know how to use, I guess…to me, IPO… sorry, F-Curves!
Bye