Basic example/test for using libpython from a nintendo switch homebrew application
git clone https://github.com/nx-python/switch-libpython
cd switch-libpython
makepkg -si
Then, copy /opt/devkitpro/portlibs/switch/lib/python3.8/
to /lib/python3.8/
on your Switch SD card.
git clone https://github.com/nx-python/switch-libpython-example
cd switch-libpython-example
make
Then run switch-libpython-example.nro
on your Switch!