Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 552 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 552 Bytes

switch-libpython-example

Basic example/test for using libpython from a nintendo switch homebrew application

Setup

Install switch-libpython

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.

Build switch-libpython-example

git clone https://github.com/nx-python/switch-libpython-example
cd switch-libpython-example
make

Then run switch-libpython-example.nro on your Switch!