'xlwings:change the color of character from Python

I'm useing xlwings on a Windows.I'd like to change the color of the character input to a cell.But the cord isn't understood.Please give the assistance.Thank you.



Solution 1:[1]

The following should work:

import xlwings as xw
wb = xw.books.active
wb.sheets[0]['A1'].font.color = (0, 255, 0)

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1