我有import numpy as np
# compute the positions here
# proper scaling (500000) is applied to the original positions ..
# .. obtained from xxx_layout() to get good spreading
pos1 = nx.spring_layout(G1,scale=500000,center=[mx1,my1])
pos2 = nx.circular_layout(G2,center=[mx2,my2])
nx.draw_networkx(G1,pos=pos1,node_size=100,node_color='green')
nx.draw_networkx(G2,pos=pos2,node_color='red')
#
# (more code below this line)
个图片网址,我想将此图片作为电子邮件附件发送,但无法正常工作。抛出错误base64
我的代码:
pathtoolongexception
请在 System.Net.Mail.Attachment attachment = new System.Net.Mail.Attachment(Base64urlpath);
attachment.TransferEncoding = System.Net.Mime.TransferEncoding.Base64;
myMail.Attachments.Add(attachment);
中回答我。
谢谢