Change property with python

Basically I’ve got a python script and I want to change the value of an object’s property without using the property actuator. Is that possible and if so, how do I do it? Thanks.
:smiley:

Sure.

An example (changes an int property called prop to 5):


import GameLogic

cont = GameLogic.getCurrentController()
own = cont.getOwner()

own.prop = 5