Steven630
Steven630
  第一张截图是用Python把生词本转换为CSV格式的做法,第二张就是Anki导入相应CSV的界面。 ```python with open(export_path, 'w', newline='', encoding='utf-8') as csvfile: # Write Anki import settings as headers csvfile.write("#separator:Comma\n") csvfile.write("#html:true\n") csvfile.write("#tags:\n") csvfile.write("#columns:Front,Back,AI\n") csvfile.write(f"#notetype:{notetype}\n") csvfile.write(f"#deck:{deck}\n") csvfile.write("#notetype column:\n") csvfile.write("#deck column:\n") csvfile.write("#tags column:\n")...
根据上面的代码,似乎是要加一行表示各列内容的header才行,否则Anki不一定能识别 csvfile.write("#columns:Front,Back,AI\n")
大佬,这个功能大概什么时候有望实现呀😊@lzcapp
好的好的,辛苦啦
Sorry, I still can't upgrade. Yesterday I managed to upgrade only because you released a new version. Downloading the zip file and double-clicking "main.py" does not have any effect.
> If you need help, email me. Thank you. I still could not update to the latest version. I don't have desktop at hand recently and will try again.
Thank you. With the latest version, the following errors occur: https://gist.github.com/ilius/6265667667acd855d233ce3b1eaaa705
I use the Tkinter interface. How do I add these flags?
Thank you. The conversion was successful.
I just converted another bigger file (800mb) and got the following error (I suspect the file generated is not complete) [WARNING] Unrecognized mimetype='image/svg+xml; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/SVG/1.0.0"' [INFO] ZIM Entry Count: 356562...