Search Results for

    Show / Hide Table of Contents

    IronPython entrypoint (main.py)

    The simplic framework (Simplic Studio) provides an entrypoint for IronPython scripting. The file must be placed under /private/main.py in the simplic repository. The file will be executed after the user login was successfull.

    Sample:

    from simplic import Log
    
    def init():
        Log.info('Entrypoint was called')
    
    init()
    

    All not-ui code that is executed in the main.py should be executed in the server.py as well!

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