{ "cells": [ { "cell_type": "markdown", "id": "5556432f", "metadata": {}, "source": [ "# Example X: Template" ] }, { "cell_type": "markdown", "id": "8899e69a", "metadata": {}, "source": [ "This example demonstrates how to ..." ] }, { "cell_type": "markdown", "id": "e2d40c36", "metadata": {}, "source": [ "# Toolkit Release" ] }, { "cell_type": "code", "execution_count": 1, "id": "7fb5a07b", "metadata": {}, "outputs": [], "source": [ "#pip install " ] }, { "cell_type": "markdown", "id": "d6773e12", "metadata": {}, "source": [ "# Imports" ] }, { "cell_type": "markdown", "id": "856ffe61", "metadata": {}, "source": [ "## DLL References" ] }, { "cell_type": "code", "execution_count": 2, "id": "1b609e22", "metadata": {}, "outputs": [], "source": [ "import clr as net" ] }, { "cell_type": "code", "execution_count": 3, "id": "88dd45d9", "metadata": {}, "outputs": [ { "data": { "text/plain": [ "" ] }, "execution_count": 3, "metadata": {}, "output_type": "execute_result" } ], "source": [ "net.AddReference(r\"C:\\3S\\SIR 3S Entwicklung\\SirGraf-90-15-00-06x64\\Sir3S_Repository.Interfaces.dll\") #change to local path if necessary" ] }, { "cell_type": "code", "execution_count": 4, "id": "b631dff6", "metadata": {}, "outputs": [], "source": [ "import Sir3S_Repository.Interfaces as Interfaces" ] }, { "cell_type": "markdown", "id": "134689cf", "metadata": {}, "source": [ "## PythonWrapperToolkit\n" ] }, { "cell_type": "code", "execution_count": null, "id": "ee4bc044", "metadata": {}, "outputs": [], "source": [ "import PythonWrapperToolkit" ] }, { "cell_type": "markdown", "id": "2007993a", "metadata": {}, "source": [ "## Additional" ] }, { "cell_type": "code", "execution_count": null, "id": "60659f01", "metadata": {}, "outputs": [], "source": [ "import os" ] }, { "cell_type": "code", "execution_count": null, "id": "b6adb29f", "metadata": {}, "outputs": [], "source": [ "..." ] }, { "cell_type": "markdown", "id": "0352dd43", "metadata": {}, "source": [ "# Initialization" ] }, { "cell_type": "code", "execution_count": 11, "id": "7e40a5af", "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Initialization complete\n" ] } ], "source": [ "s3s = PythonWrapperToolkit.SIR3S_Model()" ] }, { "cell_type": "markdown", "id": "2d0f6dc9", "metadata": {}, "source": [ "# Header 1" ] } ], "metadata": { "kernelspec": { "display_name": "base", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.11.8" } }, "nbformat": 4, "nbformat_minor": 5 }