kindle manager

This commit is contained in:
gavin
2020-05-30 21:32:48 +08:00
parent dffae936d8
commit 87d661fcb6
3 changed files with 198 additions and 429 deletions

View File

@@ -9,7 +9,7 @@
## 1.0.1 (20200528)
### feature
- add search clip
- add search clip and some functions
## learn lesson
- assign value to a not exist key, will throw KeyError, too inflexible!!! perl much better
@@ -33,6 +33,21 @@ b['1']['2'] = {'3':1} # OK
suff = {'MD':'.md','CSV':'.csv','JSON':'.json'}
198 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)
### feature
- remove duplication
- refactor some code
## learn lesson
- change dict keys between iteration, will throw RuntimeError:
dictionary changed size during iteration
- reference - http://www.cocoachina.com/articles/89748
# feature plan
## 20200528
@@ -40,3 +55,4 @@ b['1']['2'] = {'3':1} # OK
- first abstract from kindle hard / local directory for different OS
- add GUI use QT