Make scripts executable
This commit is contained in:
parent
c727f06900
commit
ba71bad13f
4
generate_storage_label.py
Normal file → Executable file
4
generate_storage_label.py
Normal file → Executable file
@ -1,3 +1,5 @@
|
||||
#!/bin/python
|
||||
|
||||
import shimatta_label.label_image as li
|
||||
import shimatta_label.brother_ql_wrapper as ql_wrapper
|
||||
from shimatta_label.storage_label import StorageLabel
|
||||
@ -6,4 +8,4 @@ label = StorageLabel()
|
||||
label.put_content('[stor_uuid]1c5cf30a-829c-4716-abfc-9ae2d4d493b2', '/Test1')
|
||||
|
||||
printer = ql_wrapper.BrotherQlPrinter(label_format='29x90')
|
||||
printer.print_image(label.get_pillow_image(), rotation=90, cut=True)
|
||||
printer.print_image(label.get_pillow_image(), rotation=90, cut=True)
|
||||
|
2
print_labels_from_csv.py
Normal file → Executable file
2
print_labels_from_csv.py
Normal file → Executable file
@ -1,3 +1,5 @@
|
||||
#!/bin/python
|
||||
|
||||
import pandas as pd
|
||||
import shimatta_label.label_image as li
|
||||
import shimatta_label.brother_ql_wrapper as ql_wrapper
|
||||
|
Loading…
Reference in New Issue
Block a user