You can put your .py wherever, just know where because that path will be used when running it
python /path/to/my/script/myscript.py
You can put your .py wherever, just know where because that path will be used when running it
python /path/to/my/script/myscript.py