I am beginner in Panda3D module, so I am playing around. I want to move the camera forward on the press of "w". So I did this in the init class.
self.accept('w', self.forward)
Now I am clueless about what I should write in the forward function.