Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle

Notices

Reply
 
Thread Tools Search this Thread
Old 03-11-2012, 05:45 PM   #1
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
Check Kindle eBook DRM

Hi guys. I need a little help. I JUST downloaded Python for the first time ever. Installed it. Downloaded this 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
Old 03-11-2012, 06:00 PM   #2
wallcraft
reader
wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.
 
wallcraft's Avatar
 
Posts: 6,979
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3 and Fire
This is an old script that looks for the DRM flag in AZW/MOBI files and prints out "DRM" or "DRM-free" and then the filename. It still seems to work, even for newer versions of Amazon DRM.

I suggest first confirming that it works on one .azw file (with echo on):
Code:
kindledrm filename.azw
If not, then there is something wrong with your Python install.

Last edited by wallcraft; 03-11-2012 at 06:04 PM.
wallcraft is offline   Reply With Quote
 
Enthusiast
Old 03-11-2012, 06:08 PM   #3
pdurrant
The Grand Mouse
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 31,699
Karma: 87823216
Join Date: Jul 2007
Location: Norfolk, England
Device: NOOK ST GlowLight
You might also find this more sophisticated script useful. It not only identifies the DRM, but also the kind of eBook.

Hmm.. come to think of it, it probably now needs updating for Print Replica and KF8 files... always something new!
pdurrant is offline   Reply With Quote
Old 03-11-2012, 06:53 PM   #4
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
Guys, you think i know more then i actually do lol.

All i get is this anytime i do anything with python

Big McLargeHuge is offline   Reply With Quote
Old 03-11-2012, 06:57 PM   #5
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
I literally just downloaded Python. I no almost nothing about scripts or how to use them as well. But i am good at following instructions .
Big McLargeHuge is offline   Reply With Quote
Old 03-11-2012, 07:10 PM   #6
wallcraft
reader
wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.
 
wallcraft's Avatar
 
Posts: 6,979
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3 and Fire
See Install Python Windows I suggest downloading 2.7.2 (don't download the 3.X.X versions).

Note that if your goal is to run DRM-stripping scripts, it may be simpler to use Calibre and the 3rd party DRM-stripping plugins that can be added to it. These are written in Python, but don't require Python to be installed on your PC. See Apprentice Alf's Blog for more info.
wallcraft is offline   Reply With Quote
Old 03-11-2012, 07:12 PM   #7
pidgeon92
Wizard
pidgeon92 ought to be getting tired of karma fortunes by now.pidgeon92 ought to be getting tired of karma fortunes by now.pidgeon92 ought to be getting tired of karma fortunes by now.pidgeon92 ought to be getting tired of karma fortunes by now.pidgeon92 ought to be getting tired of karma fortunes by now.pidgeon92 ought to be getting tired of karma fortunes by now.pidgeon92 ought to be getting tired of karma fortunes by now.pidgeon92 ought to be getting tired of karma fortunes by now.pidgeon92 ought to be getting tired of karma fortunes by now.pidgeon92 ought to be getting tired of karma fortunes by now.pidgeon92 ought to be getting tired of karma fortunes by now.
 
pidgeon92's Avatar
 
Posts: 2,594
Karma: 5701970
Join Date: Jun 2008
Location: Chicago, IL
Device: Kindle 2, Kindle PW2, Kindle DXG, Boox M90, Kobo Aura HD
Do you even need Python installed to use the Calibre tools? It's been so long since I installed everything, I don't remember....

I suggest you do the Calibre + tools instead. Less fiddling around. Google Apprentice Alf.
pidgeon92 is offline   Reply With Quote
Old 03-11-2012, 07:24 PM   #8
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
Alright, downloaded Python 2.7.2, and something called wxpython (i think), then i followed the guide and added ";c:\Python27;c:\Python27\Tools\Scripts" to PATH. Now what?

Last edited by Big McLargeHuge; 03-11-2012 at 07:50 PM.
Big McLargeHuge is offline   Reply With Quote
Old 03-11-2012, 07:40 PM   #9
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 9,020
Karma: 40855212
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by Big McLargeHuge View Post
Alright, downloaded Python 2.7.2, and something called wxpython (i think), then i followed the guide and added ";c:\Python26;c:\Python26\Tools\Scripts" to PATH. Now what?
If you download ActiveState's Python 2.7.2 for Windows, you shouldn't need to manually add anything to your path... the install will take care of that for you.

I'm not sure what you have going on but you seem to be adding Python 2.6 folders to your path, yet you indicated you downloaded/installed Python 2.7.

Last edited by DiapDealer; 03-11-2012 at 07:43 PM.
DiapDealer is online now   Reply With Quote
Old 03-11-2012, 07:50 PM   #10
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 DiapDealer View Post
If you download ActiveState's Python 2.7.2 for Windows, you shouldn't need to manually add anything to your path... the install will take care of that for you.

I'm not sure what you have going on but you seem to be adding Python 2.6 folders to your path, yet you indicated you downloaded/installed Python 2.7.
My mistake. Fixed now. Still have no idea how to proceed.
Big McLargeHuge is offline   Reply With Quote
Old 03-11-2012, 08:03 PM   #11
wallcraft
reader
wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.
 
wallcraft's Avatar
 
Posts: 6,979
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3 and Fire
Quote:
Originally Posted by Big McLargeHuge View Post
Still have no idea how to proceed.
If you look at any folder containing .py files using file explorer, they should show up with yellow and blue (python) icons.

If you type python in a command window, it should come back with a 2.7.2 header and >>>
Type quit() to exit.

Now try
Code:
kindledrm filename.azw
or pdurrant's
Code:
drmcheck filename.azw
Note that the command window has filename completion, so type a partial filename and a tab to complete it.
wallcraft is offline   Reply With Quote
Old 03-11-2012, 11:33 PM   #12
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
Big McLargeHuge is offline   Reply With Quote
Old 03-12-2012, 12:53 AM   #13
wallcraft
reader
wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.
 
wallcraft's Avatar
 
Posts: 6,979
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3 and Fire
Don't run kindledrm inside python, just type kindledrm file.azw

The command processor will recognize that it needs to invoke python to run kindledrm.py.

Assuming this works, then so will the original "for" command from the 1st post.
wallcraft is offline   Reply With Quote
Old 03-12-2012, 01:57 AM   #14
mtaylor100
Junior Member
mtaylor100 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Mar 2012
Device: none
If not, then there is something wrong with your Python install.
mtaylor100 is offline   Reply With Quote
Old 03-14-2012, 11:47 AM   #15
sadievan
Wizard
sadievan ought to be getting tired of karma fortunes by now.sadievan ought to be getting tired of karma fortunes by now.sadievan ought to be getting tired of karma fortunes by now.sadievan ought to be getting tired of karma fortunes by now.sadievan ought to be getting tired of karma fortunes by now.sadievan ought to be getting tired of karma fortunes by now.sadievan ought to be getting tired of karma fortunes by now.sadievan ought to be getting tired of karma fortunes by now.sadievan ought to be getting tired of karma fortunes by now.sadievan ought to be getting tired of karma fortunes by now.sadievan ought to be getting tired of karma fortunes by now.
 
sadievan's Avatar
 
Posts: 1,586
Karma: 3000000
Join Date: Nov 2010
Device: Kindle3, iPhone, Kindle Fire
Quote:
Originally Posted by pdurrant View Post
You might also find this more sophisticated script useful. It not only identifies the DRM, but also the kind of eBook.

Hmm.. come to think of it, it probably now needs updating for Print Replica and KF8 files... always something new!
Thanks for that Paul. Is there a way to do more than one file or must they be done individually.

Carol
sadievan is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DRM Check: Find out what DRM that ebook has got. pdurrant Workshop 22 06-12-2013 05:12 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


All times are GMT -4. The time now is 06:03 AM.


MobileRead.com is a privately owned, operated and funded community.