🔒 Режим прегледа. Првих петнаест Foundations лекција је бесплатно; ова је Pro. Покрените 7-дневни trial да откључате едитор, AI савете и остатак курса. Картица је обавезна, можете отказати у било ком тренутку у Dashboard.Покрени 7-дневни trial →
After the snippet above, the message has 2 parts: the plain body and the attachment.
If you run
parts = list(msg.iter_attachments())
print(len(parts))
print(parts[0].get_filename())
what do the two lines print? Type both.
Predvidi izlaz
Pažljivo pročitaj kod
Šta će program ispisati? Napiši ovde:
💬 Diskusija
Budi prvi — postavi pitanje ili podeli savet.
Prijavi se da bi se pridružio diskusiji. Čitanje je besplatno.