kindle manager

This commit is contained in:
gavin
2020-06-01 15:27:24 +08:00
parent b4e23cf5e3
commit dbe3cad7f4
30 changed files with 181 additions and 4 deletions

View File

@@ -31,27 +31,27 @@ b['1']['2'] = {'3':1} # OK
- no c/c++/java/perl switch-case, not use two much if-elif-elif, use this to simplify:
```
suff = {'MD':'.md','CSV':'.csv','JSON':'.json'}
198 op = OUTPREF+suff[ft]
op = OUTPREF+suff[ft]
```
- assign value style is pithiness
```
(authinfo, dateinfo, content) = (s[0], s[1], s[2] if len(s)==3 else None)
```
## 1.0.1 (20200530)
## 1.0.2 (20200530)
### feature
- remove duplication
- refactor some code
- optimize search feature
## learn lesson
- change dict keys between iteration, will throw RuntimeError:
dictionary changed size during iteration
- reference - http://www.cocoachina.com/articles/89748
- pyQt5 reference - https://www.learnpyqt.com/
# feature plan
## 20200528
- optimize search feature
- first abstract from kindle hard / local directory for different OS
- add GUI use QT