Search Results for

    Show / Hide Table of Contents

    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
      • ArchiveManager

    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

    
    
    • Improve this Doc
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx