isbn

How to get ISBN number from .mobi file with python

半腔热情 提交于 2019-12-03 21:24:52
Is there any way of fetching the ISBN number from a .mobi book using python? Maybe there is a way of reading the .mobi files directely with python and search for 10 ints which is the ISBN number? if I open the mobi file with notepad i can find the number, but when i try to read the file I get a encoding error. Yes. Basically, you just need to parse the PalmDB file format. The ISBN is stored in the EXTH header field of type 104 . The Python PalmDB module I have linked above was somewhat immature when I wrote my Kindle collections manager, so I ended up implementing the relevant parts myself,

ISBN -> bookdata Lookup to fill in a database

折月煮酒 提交于 2019-12-03 20:30:23
问题 Ok, I wanting to database a small library. I've only had limited experience with databases, and none with querying from a webserver. I'm going to want to retrieve information like title, Publisher, maybe author, description the simplest way I can think of dooing this is looking them up via the ISBN. I've come across isbndb.com before, but the API for accessing it seems rather complex. I'm wondering how I should go about doing this. 回答1: I recently had to do exactly this as we indexed our

ISBN -> bookdata Lookup to fill in a database

孤人 提交于 2019-11-30 16:08:13
Ok, I wanting to database a small library. I've only had limited experience with databases, and none with querying from a webserver. I'm going to want to retrieve information like title, Publisher, maybe author, description the simplest way I can think of dooing this is looking them up via the ISBN. I've come across isbndb.com before, but the API for accessing it seems rather complex. I'm wondering how I should go about doing this. I recently had to do exactly this as we indexed our library for insurance purposes. Below is the code of the vba class I hacked together: Option Compare Database

Google books API searching by ISBN

只愿长相守 提交于 2019-11-29 21:06:37
I am trying to figure out how to search for a book by ISBN using the Google Books API. I need to write a program that searches for an ISBN then prints out the title, author, and edition. I tried using List volumesList = books.volumes.list(""); but that did not allow me to search by ISBN and I did not see a way to get the information I needed(when an ISBN was placed in it had no results) . What I have right now is: JsonFactory jsonFactory = new JacksonFactory(); final Books books = new Books(new NetHttpTransport(), jsonFactory); List volumesList = books.volumes.list("9780262140874");

ISBN final digit finder

为君一笑 提交于 2019-11-29 17:37:00
I am working in python 3 and I am making a program that will take in a 10 digit ISBN Number and applying a method to it to find the 11th number. Here is my current code ISBN=input('Please enter the 10 digit number: ') while len(ISBN)!= 10: print('Please make sure you have entered a number which is exactly 10 characters long.') ISBN=int(input('Please enter the 10 digit number: ')) continue else: Digit1=int(ISBN[0])*11 Digit2=int(ISBN[1])*10 Digit3=int(ISBN[2])*9 Digit4=int(ISBN[3])*8 Digit5=int(ISBN[4])*7 Digit6=int(ISBN[5])*6 Digit7=int(ISBN[6])*5 Digit8=int(ISBN[7])*4 Digit9=int(ISBN[8])*3

Regular expression for an ISBN 13

时间秒杀一切 提交于 2019-11-29 07:46:11
Hi all I'm trying all the time to make a regular expression for XML in my .xsd . This expression should verify an ISBN-13 number but I couldn't get further than this: ISBN (978|979)[ |-][0-9]{1,5}[ |-][0-9]{1,7}[ |-][0-9]{1,7}[0-9]{1} This is ok if somebody fills in a correct ISBN13, but it is also still possible to make ISBNs which are much longer (for example it is still possible to make the first block of numbers 5 long and the second 7 digits and the third also 7 digits long). I am very new to this topic and I cannot solve this problem, therefore I hope somebody could help me or solve my

Google books API searching by ISBN

自作多情 提交于 2019-11-28 16:45:46
问题 I am trying to figure out how to search for a book by ISBN using the Google Books API. I need to write a program that searches for an ISBN then prints out the title, author, and edition. I tried using List volumesList = books.volumes.list(""); but that did not allow me to search by ISBN and I did not see a way to get the information I needed(when an ISBN was placed in it had no results) . What I have right now is: JsonFactory jsonFactory = new JacksonFactory(); final Books books = new Books

ISBN final digit finder

感情迁移 提交于 2019-11-28 12:00:20
问题 I am working in python 3 and I am making a program that will take in a 10 digit ISBN Number and applying a method to it to find the 11th number. Here is my current code ISBN=input('Please enter the 10 digit number: ') while len(ISBN)!= 10: print('Please make sure you have entered a number which is exactly 10 characters long.') ISBN=int(input('Please enter the 10 digit number: ')) continue else: Digit1=int(ISBN[0])*11 Digit2=int(ISBN[1])*10 Digit3=int(ISBN[2])*9 Digit4=int(ISBN[3])*8 Digit5

regex differentiating between ISBN-10 and ISBN-13

旧街凉风 提交于 2019-11-28 11:55:16
I have an If-else statement which checks a string to see whether there is an ISBN-10 or ISBN-13 (book ID). The problem I am facing is with the ISBN-10 check which occurs before the ISBN-13 check, the ISBN-10 check will match anything with 10 characters or more and so may mistake an ISBN-13 for an ISBN-10. here is the code... $str = "ISBN:9780113411436"; if(preg_match("/\d{9}(?:\d|X)/", $str, $matches)){ echo "ISBN-10 FOUND\n"; //isbn returned will be 9780113411 return 0; } else if(preg_match("/\d{12}(?:\d|X)/", $str, $matches)){ echo "ISBN-13 FOUND\n"; //isbn returned will be 9780113411436

ISBN check digit solver, user feedback

老子叫甜甜 提交于 2019-11-28 02:30:19
I am making an ISBN program to solve the check digit and I want to make it so that when the program finds the check digit for you it opens a new string saying "would you like to close the program or not", which I have already done so. If they person says 'n' for no it returns back to the beginning and if the person says 'y' the program closes I got stuck and started to search the internet my code is below could anyone help adjust it thanks you. HERES MY CODE: ISBN=input("Please enter a 10 digit number for the ISBN check digit: ") while len(ISBN)!= 10: print("Please try again and make sure you