- 授权协议: Apache
- 开发语言: Python
- 操作系统: 跨平台
- 软件首页: https://github.com/linkedin/pyexchange
- 软件文档: https://pyexchange.readthedocs.org/
软件介绍
PyExchange 是微软 Exchange 服务的 Python 封装。Python 应用可以使用它来与 Exchange 服务进行各种交互。该库目前还不完善,只支持日程信息。
示例代码:
from pyexchange import Exchange2010Service, ExchangeNTLMAuthConnection
from datetime import datetime
from pytz import timezone
URL = u'https://your.email.server.com.here/EWS/Exchange.asmx'
USERNAME = u'YOURDOMAIN\\yourusername'
PASSWORD = u"12345? That's what I have on my luggage!"
# Set up the connection to Exchange
connection = ExchangeNTLMAuthConnection(url=URL,
username=USERNAME,
password=PASSWORD)
service = Exchange2010Service(connection)
# You can set event properties when you instantiate the event...
event = service.calendar().new_event(
subject=u"80s Movie Night",
attendees=[u'your_friend@friendme.domain', u'your_other_friend@their.domain'],
location = u"My house",
)
# ...or afterwards
event.start=timezone("US/Pacific").localize(datetime(2013,1,1,15,0,0))
event.end=timezone("US/Pacific").localize(datetime(2013,1,1,21,0,0))
event.html_body = u"""<html>
<body>
<h1>80s Movie night</h1>
<p>We're watching Spaceballs, Wayne's World, and
Bill and Ted's Excellent Adventure.</p>
<p>PARTY ON DUDES!</p>
</body>
</html>"""
# Connect to Exchange and create the event
event.create()
程序员面试金典(第5版)
[美] Gayle Laakmann McDowell / 李琳骁、漆 犇 / 人民邮电出版社 / 2013-11 / 59.00
本书是原谷歌资深面试官的经验之作,层层紧扣程序员面试的每一个环节,全面而详尽地介绍了程序员应当如何应对面试,才能在面试中脱颖而出。第1~7 章主要涉及面试流程解析、面试官的幕后决策及可能提出的问题、面试前的准备工作、对面试结果的处理等内容;第8~9 章从数据结构、概念与算法、知识类问题和附加面试题4 个方面,为读者呈现了出自微软、苹果、谷歌等多家知名公司的150 道编程面试题,并针对每一道面试题目......一起来看看 《程序员面试金典(第5版)》 这本书的介绍吧!
