TA的每日心情 | 慵懒 2023-2-3 09:59 |
---|
签到天数: 35 天 [LV.5]常住居民I
状元
- 积分
- 11812
|
做了一份2019红宝书的,有其他需要建议自己弄下~
vocabulary.txt
(51.98 KB, 下载次数: 29)
另外做了一个简单的py3代码,省的装sql了
- # -*- coding: UTF-8 -*-
- import sqlite3
- WORK_PATH = "/Users/XXXXX/"
- connection = sqlite3.connect(WORK_PATH + "vocabDB.db")
- p = connection.cursor()
- cursor = p.execute("SELECT vocab from '2019考研英语词汇红宝书'")
- f = open(WORK_PATH + "vocabulary.txt", 'w')
- for r in cursor:
- print(r[0], file=f)
- f.close()
- connection.close()
复制代码
|
|