Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do I run this script?
#2
(Mar-30-2019, 04:58 AM)someguy Wrote: I tried typing "--info" (without quotes) and other variations including the filename, but I get various errors. The zbthumbnail.info file is in the same folder as the Python script, FYI.
What various errors?

Quick test.
E:\div_code\xy
λ git clone https://github.com/ross-spencer/zbthumbnail-extractor.git
Cloning into 'zbthumbnail-extractor'...
remote: Enumerating objects: 18, done.
remote: Total 18 (delta 0), reused 0 (delta 0), pack-reused 18
Unpacking objects: 100% (18/18), done.
Checking connectivity... done.

E:\div_code\xy
λ cd zbthumbnail-extractor\

# Did download a ZbThumbnail.info for test
E:\div_code\xy\zbthumbnail-extractor (master)
λ python zbextractor.py --info ZbThumbnail.info
0 JPEGs discovered.

# Without ZbThumbnail.info
E:\div_code\xy\zbthumbnail-extractor (master)
λ python zbextractor.py --info
usage: zbextractor.py [-h] [--info INFO]
zbextractor.py: error: argument --info: expected one argument
So it work as excepted,if i have had thumbnail files:
Quote:If zbextractor.py accurately discovers thumbnail files then it will a folder with the following name
'{filename}-{uuid4}/' under which it will put the stored images, e.g. image-0001.jpg, image-0002.jpg.
Reply


Messages In This Thread
How do I run this script? - by someguy - Mar-30-2019, 04:58 AM
RE: How do I run this script? - by snippsat - Mar-30-2019, 08:20 AM
RE: How do I run this script? - by someguy - Mar-30-2019, 02:34 PM
RE: How do I run this script? - by snippsat - Mar-30-2019, 03:24 PM
RE: How do I run this script? - by someguy - Mar-30-2019, 03:29 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020