you can run things at the command line if you can create a custom module.
at the top of your python file
and then to run the php script
cmd = "php and your file name" p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)
google "python subprocess" to get more details on what is necessary.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 9/30/13, 9:18 AM|
|Seen: 5523 times|
|Last updated: 3/16/15, 8:10 AM|