Python的MSN开发包 msnp.py

fmms 13年前
     <p>msnp.py 是一个实现了 MSN 消息协议的 Python 模块,提供面向对象的 API。支持:</p>    <ul>     <li>Login; logout</li>     <li>Presence states (online, away, etc.)</li>     <li><em>Full-fledged API-supported friend list management</em></li>     <li><em>Privacy settings</em></li>     <li>Chat conversations (start, join, leave)</li>     <li>Instant messages</li>     <li>Typing notifications</li>     <li>HTTP proxy (tunnelling) support</li>    </ul>    <p>示例代码:</p>    <pre class="brush:python; toolbar: true; auto-links: false;">import msnp import time  msn = msnp.Session() msn.login('trinity@hotmail.com', 'Z10N0101')  while True:     msn.process()     time.sleep(1)</pre>    <p></p>    <p><strong>项目主页:</strong><a href="http://www.open-open.com/lib/view/home/1326935142874" target="_blank">http://www.open-open.com/lib/view/home/1326935142874</a></p>