![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,896
Karma: 6995721
Join Date: Dec 2008
Location: Idaho, on the side of a mountain
Device: Kindle Oasis, Fire 3d Gen and 5th Gen and Samsung Tab S
|
Command needed
I went into the darkness, and found something from PD that was labeled v.06. It doesn't say what to save it as, so I saved it as tool6.pyw. But when I type tool6.pyw, I don't get the credits. I am in my python directory. I also tried tool06.pyw. Can someone help me? Thanks, Debra
|
![]() |
![]() |
![]() |
#2 |
hopeless n00b
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
|
Uhh... that really doesn't explain anything... Not to mention you shouldn't be running scripts without any idea of what they actually do. I would suggest opening the script in a text editor (Notepad or similar). It might contain some comments as to usage and such.
|
![]() |
![]() |
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,896
Karma: 6995721
Join Date: Dec 2008
Location: Idaho, on the side of a mountain
Device: Kindle Oasis, Fire 3d Gen and 5th Gen and Samsung Tab S
|
Thanks, I downloaded a text file, but it doesn't say. It is a de DRM script, hence my code. It is version 6 of a popular program. I have run version 5 sucessfully, but this version is stuck.
|
![]() |
![]() |
![]() |
#4 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,984
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
There are two versions of 0.06 posted there. One is no good and the other good. Did you get the good 0.06?
|
![]() |
![]() |
![]() |
#5 | |
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73,590
Karma: 315126578
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
|
Try just .py as the file name extension.
.pyw indicates some form of windows-specific python code I think. Quote:
|
|
![]() |
![]() |
![]() |
#6 | |
reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,977
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
Quote:
As pdurrant says, the correct filename extensions is .py. |
|
![]() |
![]() |
![]() |
#7 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,896
Karma: 6995721
Join Date: Dec 2008
Location: Idaho, on the side of a mountain
Device: Kindle Oasis, Fire 3d Gen and 5th Gen and Samsung Tab S
|
Mobileread is the best! Don't know where I picked up pyw - probably some older version of something. Py works just like it ought to! Thank you so much. Debra
![]() ![]() ![]() ![]() ![]() |
![]() |
![]() |
![]() |
#8 |
Member
![]() Posts: 12
Karma: 10
Join Date: Mar 2008
Device: Kindle
|
|
![]() |
![]() |
![]() |
#9 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,896
Karma: 6995721
Join Date: Dec 2008
Location: Idaho, on the side of a mountain
Device: Kindle Oasis, Fire 3d Gen and 5th Gen and Samsung Tab S
|
Thanks! I thought I was going crazy (not that this is complete proof I am sane, I just didn't totally make it up).
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to customize the view command? | ctop | Calibre | 3 | 04-28-2010 08:27 PM |
DR800 view command output | 34973 | iRex | 6 | 03-24-2010 12:14 PM |
Why use the command line? | slantybard | Calibre | 6 | 07-22-2009 12:17 PM |
Errors on Command Line | drnkusv | Calibre | 11 | 11-07-2008 02:59 PM |