You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# Aspose.BarCode Cloud SDK for Python
2
2
3
3
- API version: 3.0
4
-
- Package version: 20.6.0
4
+
- Package version: 20.8.0
5
5
6
6
[Aspose.BarCode for Cloud](https://products.aspose.cloud/barcode/cloud) is a REST API for Linear, 2D and postal barcode generation and recognition in the cloud. API recognizes and generates barcode images in a variety of formats. Barcode REST API allows to specify barcode image attributes like image width, height, border style and output image format in order to customize the generation process. Developers can also specify the barcode type and text attributes such as text location and font styles in order to suit the application requirements.
7
7
@@ -43,7 +43,7 @@ import aspose_barcode_cloud
43
43
The examples below show how you can generate and recognize Code128 barcode and save it into local file using aspose-barcode-cloud:
44
44
45
45
```python
46
-
from__future__import print_function
46
+
from__future__importdivision, print_function
47
47
48
48
from pprint import pprint
49
49
@@ -64,15 +64,15 @@ text = 'text_example' # str | Text to encode.
64
64
try:
65
65
# Generate barcode.
66
66
response = api.get_barcode_generate(type, text)
67
-
withopen('example.png', 'wb') as f:
67
+
withopen("example.png", "wb") as f:
68
68
f.write(response.data)
69
69
print("Barcode saved to file 'example.png'")
70
70
except ApiException as e:
71
71
print("Exception when calling BarcodeApi->get_barcode_generate: %s\n"% e)
0 commit comments