Translations:ReleaseNotes/6.4/143/zh-cn

From The Document Foundation Wiki
Jump to: navigation, search

例:从 Python 终端运行(或从 Python 脚本运行)

 from access2base import *
 db = Application.OpenDatabase('C:\...\... .odb')
 rs = db.OpenRecordset('SELECT * FROM [EXPENSES]')
 data = rs.GetRows(1000)   # data 是一个包含(最多 1000 条)支出记录的元组

需要更多信息请阅读英文文档页 (Jean-Pierre Ledure).