kindle manager
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user