Newbie here. For a WordPress site, where do you save a python file?
My python file is called hello.py which consists of
print("Hello World!")
I am trying to call the python script in Wordpress by pasting this in a php file in my Wordpress theme
<?php
exec("python hello.py");
?>