Nasty little hack-together:
// set below
//===================
$object = "polySphere1";
$attribute = "radius";
$getAtTime = 24;
// don't touch below
//===================
$oldTime = `currentTime -q`;
currentTime $getAtTime;
$value = `getAttr ($object + "." + $attribute)`;
currentTime $oldTime;
// do something with the result
print $value;
Imagination is more important than knowledge.