Python Code For Printing Tables In Excel