Update README.md
print / verify valid format Result Return Add
This commit is contained in:
@@ -90,10 +90,14 @@ if img.remove_media('TOC '):
|
|||||||
img.write('Existing.icns', toc=True)
|
img.write('Existing.icns', toc=True)
|
||||||
|
|
||||||
# print
|
# print
|
||||||
icnsutil.IcnsFile.description(fname, indent=2)
|
# result type string
|
||||||
|
desc = icnsutil.IcnsFile.description(fname, indent=2)
|
||||||
|
print(desc)
|
||||||
|
|
||||||
# verify valid format
|
# verify valid format
|
||||||
icnsutil.IcnsFile.verify(fname)
|
# result type objet(list)
|
||||||
|
verify = icnsutil.IcnsFile.verify(fname)
|
||||||
|
print(list(verify))
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user