Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ docker run -it --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp python:3 python script.py
- Importing pillow
- Canot find package: pillow. Installing...
- Collecting pillow
- Downloading Pillow-5.0.0-cp36-cp36m-manylinux1_x86_64.whl (5.9MB)
- 100% |████████████████████████████████| 5.9MB 319kB/s
- Installing collected packages: pillow
- Successfully installed pillow-5.0.0
- Select 1 to convert file to images
- Select 2 to convert Images to File
- : 2
- please enter directory name containing images: ./
- zey30QV.png Has been extracted
- Conversion Complete
- $ ls
- output.tar.gz script.py zey30QV.png
- $ file output.tar.gz
- output.tar.gz: data
- $ gunzip output.tar.gz
- gunzip: output.tar.gz: not in gzip format
- $ tar xzvf output.tar.gz
- tar: Unrecognized archive format
- tar: Error exit delayed from previous errors.
- $ du -h output.tar.gz
- 20M output.tar.gz
- $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement