How can I save a python script in yocto project?

Hi,

I have a connectcore 6ul sbc pro with yocto project. I want to save a python script so when I tip:
python3 example.py
this one executes.

I am a begginer and I suppose that it is very easy to move a .py script from my computer to the connectcore but I dont find the way.

FTP, SFTP, USB stick, SD card…

I have solved it with this:

scp example.py root@192.168.xxx.xxx:/home/root/