View Single Post
Old 03-11-2012, 03:59 PM   #22
Big McLargeHuge
Enthusiast
Big McLargeHuge ought to be getting tired of karma fortunes by now.Big McLargeHuge ought to be getting tired of karma fortunes by now.Big McLargeHuge ought to be getting tired of karma fortunes by now.Big McLargeHuge ought to be getting tired of karma fortunes by now.Big McLargeHuge ought to be getting tired of karma fortunes by now.Big McLargeHuge ought to be getting tired of karma fortunes by now.Big McLargeHuge ought to be getting tired of karma fortunes by now.Big McLargeHuge ought to be getting tired of karma fortunes by now.Big McLargeHuge ought to be getting tired of karma fortunes by now.Big McLargeHuge ought to be getting tired of karma fortunes by now.Big McLargeHuge ought to be getting tired of karma fortunes by now.
 
Big McLargeHuge's Avatar
 
Posts: 47
Karma: 490332
Join Date: Mar 2012
Device: None Currently
Quote:
Originally Posted by wallcraft View Post
See the attached python script, kindledrm.py, which reports the status of an AZW ebook. Note that kindledrm is not touching the file's DRM, it just looks at a 2-byte integer in the header that indicates the presence of DRM.

Using a windows command for loop (see the readme in the .zip) I found the following DRM-free AZWs on my Kindle:

Several of these are "Extra Large Print" ebooks that are no longer available. The others can be found by searching at Amazon for the ASIN which is in the file name (e.g. B0018LILMO). The script also finds DRM-free samples (White Witch is the only example here), which are typically labeled EBSP rather than EBOK. Most (all?) samples are DRM-free.

Hey wallcraft, or anyone, i need a little help. I JUST downloaded Python for the first time ever. Installed it. Downloaded your script, put both files in the same folder as my eBook, and now i have no idea how to proceed.

I tried typing "echo off
for %a in (*.azw) do kindledrm "%a"
echo on" into cmd but that didn't do anything. Sorry for being so clueless. A step by step would be extremely helpful and MUCH appreciated. Thanks.
Big McLargeHuge is offline   Reply With Quote