我是python新手。我正在通过 python 发送一些大文本邮件。我正在做的是将大文本邮件存储在一个字符串中并发送。当我在我身边打印那个字符串时,我的格式已经按照我的意愿进行了很好的格式化,但是在接收方的消息格式发生了变化。我怎样才能确保我的消息的表格格式不会被改变。当我打印消息时,我得到这样的总结:
Click Count for all 24 hrs:
===================
Citrus_click Hadoop_click Diff
10224172 0 10224172
Billed Count for all 24 hrs:
===================
Citrus Leaf Hadoop Diff
8055239 0 8055239
Beacon Count for all 24 hrs:
================
Citrus Leaf Hadoop Diff
900476 0 900476
Beacon unique Count for all 24 hrs:
===================
Citrus Leaf Hadoop Diff
43516 0 43516
但是接收方的格式发生了变化,他们得到了这样的总结:
Click Count for all 24 hrs:
===================
Citrus_click Hadoop_click Diff
10224172 0 10224172
Billed Count for all 24 hrs:
===================
Citrus Leaf Hadoop Diff
8055239 0 8055239
Beacon Count for all 24 hrs:
================
Citrus Leaf Hadoop Diff
900476 0 900476
Beacon unique Count for all 24 hrs:
===================
Citrus Leaf Hadoop Diff
43516 0 43516