tried that and it gave me Nsp not found
You need to pass the full path to your nsp file then.
E.g. if your NSP resides in C:\switch\games\Luigi's Mansion 3.nsp, then the right command would look like this:
Code:
py splitNSP.py "C:\switch\games\Luigi's Mansion 3.nsp"