Skip to content

Commit 0328810

Browse files
author
Hugo Osvaldo Barrera
authored
Merge pull request #54 from jay51/patch-1
Fix: misleading code example in README
2 parents e71da86 + 764d3fe commit 0328810

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

README.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,10 @@ and see the created barcode. That's it.
107107

108108
Commandline::
109109

110-
$ python-barcode create "My Text" outfile
110+
`$ python-barcode create "123456789000" outfile -b ean --text "text to appear under barcode" `
111111
New barcode saved as outfile.svg.
112+
113+
# The following will not work if Pillow is not installed (Pillow is required for exporting to images instead of SVG).
112114
$ python-barcode create -t png "My Text" outfile
113115
New barcode saved as outfile.png.
114116

0 commit comments

Comments
 (0)