Is smtplib pure python or implemented in C?
In [32]: import smtplib
In [33]: smtplib
Out[33]: <module 'smtplib' from '/usr/lib/python2.6/smtplib.pyc'>
Therefore, smtplib is written in python.
smtplib itself is implemented in python but socket is based on C, so its means both.
Basically pure Python (as the underlying implementation if you go down far enough is C). You can find the source under the Lib\ directory in your Python root.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With