Easy way to output console.print(table)
to an email
#1556
-
Not sure if this is something that fits here, but I was wondering is there is an easy way to output tables for sending via emails as opposed to the console. I have built some nice reports utilizing tables and I would also like to get these reports emailed to me, but I am just getting a ton os ansi color codes and nothing like what outputs to the screen. Maybe someone has some pointers. Thanks!! |
Beta Was this translation helpful? Give feedback.
Answered by
willmcgugan
Oct 8, 2021
Replies: 1 comment 1 reply
-
See the docs on exporting. You can use the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
rjsears
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See the docs on exporting. You can use the
export_text
method which will return a string without style codes.