-2
をエクセルに出力を保存し、私は今私が同様にコンソールExcelファイルに保存するために、出力を印刷したい、Pythonのコンソールに出力を印刷し、コードを持っても印刷と私のpythonを学ぶ初心者だ
def print_results(results):
print()
print('Profile Name: %s' % results.get('profileInfo').get('profileName'))
print()
# Print header.
output = []
for header in results.get('columnHeaders'):
output.append('%30s' % header.get('name'))
print(''.join(output))
# Print data table.
if results.get('rows', []):
for row in results.get('rows'):
output = []
for cell in row:
output.append('%30s' % cell)
print(''.join(output))
else:
print('No Rows Found')
[openpyxl](https://openpyxl.readthedocs.io/en/default/) – SmartManoj