TA的每日心情 | 开心 2020-2-29 08:12 |
---|
签到天数: 1 天 [LV.1]初来乍到
|
本帖最后由 noword2k 于 2020-2-28 10:16 编辑
! M' H4 l* H% I% T8 M- U8 |
1 `$ f% M4 U% @; v o6 j, |v0.0.2发布,修正了txt的读取
. f8 G7 }8 D0 Hhttps://www.pdawiki.com/forum/forum.php?mod=viewthread&tid=38923! s* p2 q+ v9 z" b: O
- }9 ?' K% f" H, c8 [. |
https://github.com/noword/MdxConverter+ g/ q, B6 K+ h0 \0 Q
exe下载地址: o" d2 \8 `2 _! e$ X k" I3 d
https://github.com/noword/MdxConverter/releases8 d [! J/ }) R! g
~* k* u' H5 K* _* Q一个用来从 mdx 字典中抓取所需的单词,并生成 html 或 pdf 文件的小工具。# r, C# d' Z6 k7 [
输入支持xls, xlsx, json, txt,输出支持html和pdf。
% }0 F0 F1 n. u+ J
& ~, [+ P- A z用法
z7 D) c2 F. h. ^' [& wusage: MdxConverter.py [-h] [--type [{pdf,html}]]( M0 o% |( ^! ~8 q& n s+ W4 W
mdx_name input_name [output_name]
/ H% J: X$ a. j8 r( F& K+ Z# }+ T% p" i3 I
positional arguments:7 h u' Q- X$ w! w" Q
mdx_name
; u, t5 p/ [# T, D) u input_name2 o8 b7 Y5 n; [
output_name
0 O( |1 [' X" O v, S. G% T& u4 i# U* q4 f: `- S) C
optional arguments:* `/ D# N+ J( O+ y
-h, --help show this help message and exit
2 S a" g \1 A. B; V2 P --type [{pdf,html}]
) d* V8 y' m! W2 ?) w
) y9 b: x* l3 o4 q6 u, S例如:
1 p+ Y+ E( B/ g, }7 \MdxConverter 某某词典.mdx input.xlsx output.pdf
' M- ]# m5 D% r6 J' h! X
" w* C, _# |$ I6 c' c+ j/ f. p, o: e9 s* Y6 M. l. x' l
% |* S9 @3 I! F: a( a E |
评分
-
5
查看全部评分
-
|