Working with reading a blob from the archive
In this code sample we will show how to read a blob from the archive.
Required Modules
- simplic
Samples
Python
from simplic import ArchiveManager
from System.IO import File
# Read/Import a sample file
blob = File.ReadAllBytes('C:\\Users\\petersen\\Documents\\beispielDatei.txt')
# Saves a blob in the archive system
id = ArchiveManager.set_blob(blob)
# Get the blob from the id
sample = ArchiveManager.get_blob(id)
Expected Output