![]() |
#46 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,895
Karma: 464403178
Join Date: Feb 2010
Location: 33.9388° N, 117.2716° W
Device: Kindles K-2, K-KB, PW 1 & 2, Voyage, Fire 2, 5 & HD 8, Surface 3, iPad
|
![]() Quote:
Quote:
![]() |
||
![]() |
![]() |
![]() |
#47 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,933
Karma: 5477576
Join Date: Nov 2010
Device: Kindle Paperwhite, iPhone, Kobo LC
|
Quote:
Carol |
|
![]() |
![]() |
Advert | |
|
![]() |
#48 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,895
Karma: 464403178
Join Date: Feb 2010
Location: 33.9388° N, 117.2716° W
Device: Kindles K-2, K-KB, PW 1 & 2, Voyage, Fire 2, 5 & HD 8, Surface 3, iPad
|
![]() |
![]() |
![]() |
![]() |
#49 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,933
Karma: 5477576
Join Date: Nov 2010
Device: Kindle Paperwhite, iPhone, Kobo LC
|
|
![]() |
![]() |
![]() |
#50 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,895
Karma: 464403178
Join Date: Feb 2010
Location: 33.9388° N, 117.2716° W
Device: Kindles K-2, K-KB, PW 1 & 2, Voyage, Fire 2, 5 & HD 8, Surface 3, iPad
|
![]() Quote:
![]() I've examined the output code in drmcheck and kindledrm for the purpose of modifying your version of drmcheck to not put a linefeed after each completed output. I cannot figure out what is causing the drmcheck to output a series of lines interspaced by a blank line (in order to use the command line loop we've been kicking around to create an ascii list). kindledrm's list creates a list w/o the extra linefeed, drmcheck includes a blank line every time it outputs the info of another file. Do you see what needs to be done to alter that behavior? ![]() |
|
![]() |
![]() |
Advert | |
|
![]() |
#51 | |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
![]() Remove the trailing newline at the "print" command. That should still be line 207. Simply delete the "\n" at the end of the double-quoted string. (I still don't understand why python appends newlines automatically, I consider that bad design, but... well, that's the way it seems to be). |
|
![]() |
![]() |
![]() |
#52 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,895
Karma: 464403178
Join Date: Feb 2010
Location: 33.9388° N, 117.2716° W
Device: Kindles K-2, K-KB, PW 1 & 2, Voyage, Fire 2, 5 & HD 8, Surface 3, iPad
|
![]() Quote:
![]() ![]() |
|
![]() |
![]() |
![]() |
#53 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 47
Karma: 490332
Join Date: Mar 2012
Device: None Currently
|
I'm glad this is working out for everyone haha, unfortunately i am not so lucky
![]() ![]() It picks up Python now that i correctly put it in the PATHS, so i don't think i installed Python incorrectly. |
![]() |
![]() |
![]() |
#54 | |
reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,977
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
Quote:
Code:
cd "C:\Users\Big McLh\Documents\My Kindle Content" kindledrm B000FC1HBY_EBOK.azw Your next problem is that drmcheck.py isn't being detected as a Python command (it is listed as a TXT file). So something is wrong with it. I think this must be "drmcheck.py ", with a space at the end because "drmcheck.py" would be detected as a Python command (and show up with a blue and yellow icon). Rename the command so that it is detected as Python. The foreach is now easier too, since all the files are in the current folder: Code:
echo off for %a in (*.azw) do kindledrm "%a" echo on |
|
![]() |
![]() |
![]() |
#55 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 47
Karma: 490332
Join Date: Mar 2012
Device: None Currently
|
Thanks a lot! It finally worked!
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
DRM Check: Find out what DRM that ebook has got. | pdurrant | Workshop | 30 | 10-28-2024 09:34 AM |
.html ebook Security check me | Xabache | Other formats | 0 | 09-17-2011 02:14 AM |
How can you tell if the Kindle Store ebook has DRM? | rock | Kindle Formats | 3 | 12-14-2009 05:55 PM |
ShineBook Mobile eBook Reader announced in Germany, reads both DRM-prc + DRM-ePub ... | K-Thom | News | 11 | 12-12-2009 06:50 AM |
Please check ebook template | AlexBell | Workshop | 9 | 07-24-2009 02:12 AM |