麻省理工学院sapweb(现在是atlas)会计系统的python接口。
pysapweb的Python项目详细描述
pysapweb是一个python库,允许程序员编写与 麻省理工学院的sapweb会计系统。用Getting Started Guide跳进去!
快速示例
要使用便利方法创建RFP报销,请先创建 按照Getting Started Guide中的说明设置firefox配置文件, 然后键入:
frompysapwebimportsap_profiles,rfpbrowser=sap_profiles.load_firefox()rfp_number=rfp.create(browser,name="pysapweb Experiment",payee=(False,"Tim D. Beaver"),# non-MIT payeeaddress=("77 Massachusetts Avenue","Cambridge","MA","02139","United States of America"),line_items=[("1/1/2013",# date of service"420226",# G/L account"6666666",# your cost object10000,# amount, in cents"Birthday cake")],receipts=["/home/tim/Desktop/receipt.pdf"])