How to automatically apply ISBN hyphenation?

前端 未结 4 1343
花落未央
花落未央 2021-01-31 11:03

I\'ve got ISBN numbers (10-digits and 13 digits) without the dashes. Now I\'m looking for a way to add those dashes automatically.

I found some useful information here:

4条回答
  •  深忆病人
    2021-01-31 11:20

    Take a look at https://pypi.python.org/pypi/isbntools, it will allow you to 'hyphenate' ISBNs and much more, like extracting, cleanning, transforming, and get metadata.

    This is a library (that you can use in your program) but it installs several 'scripts' that you can use from the command line.

提交回复
热议问题