AutoPyfor2.7
THis may not be applicable for real.