diff --git a/.gitignore b/.gitignore index 5a4c1886..d91dd280 100644 --- a/.gitignore +++ b/.gitignore @@ -314,3 +314,4 @@ slides .slides ./.slides BSS-Algorytmy_Szyfrowania +venv \ No newline at end of file diff --git a/Programming/TRAK/.python-version b/Programming/TRAK/.python-version new file mode 100644 index 00000000..2c073331 --- /dev/null +++ b/Programming/TRAK/.python-version @@ -0,0 +1 @@ +3.11 diff --git a/Programming/TRAK/init.sh b/Programming/TRAK/init.sh new file mode 100755 index 00000000..d067ab25 --- /dev/null +++ b/Programming/TRAK/init.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +pyenv local 3.11 +python -m venv ./venv +source ./venv/bin/activate \ No newline at end of file diff --git a/Programming/TRAK/lab6.py b/Programming/TRAK/lab6.py new file mode 100644 index 00000000..10585d0a --- /dev/null +++ b/Programming/TRAK/lab6.py @@ -0,0 +1,4 @@ +import bpy +import os +script_path = '' # path to script +exec(compile(open(script_path).read(), script_path, 'exec')) diff --git a/Programming/TRAK/requirements.txt b/Programming/TRAK/requirements.txt new file mode 100644 index 00000000..dae63b37 --- /dev/null +++ b/Programming/TRAK/requirements.txt @@ -0,0 +1 @@ +bpy \ No newline at end of file