Hackish way to play with pythons object