Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

example of python application from github to docker image

# Sample taken from pyStrich GitHub repository
# https://github.com/mmulqueen/pyStrich
from pystrich.datamatrix import DataMatrixEncoder

encoder = DataMatrixEncoder('This is a DataMatrix.')
encoder.save('./datamatrix_test.png')
print(encoder.get_ascii())
Source by runnable.com #
 
PREVIOUS NEXT
Tagged: #python #application #github #docker #image
ADD COMMENT
Topic
Name
1+5 =