Python script to get results of an entire class