Is there a way, in Python, to run a single php syntax command? I know I can just run os.system
to call a separate php file but that seem excessive. So I want no separate file if possible.
Something similar to:
if send_mail == True:
#something to run single line php: mail($to,$txt,$subject)