title: executing Python script in PHP and exchanging data between the two
body: <p>Is it possible to run a Python script within PHP and transferring variables from each other ?</p>
  
  <p>I have a class that scraps websites for data in a certain global way. i want to make it go a lot more specific and already have pythons scripts specific to several website.</p>
  
  <p>I am looking for a way to incorporate those inside my class.</p>
  
  <p>Is safe and reliable data transfer between the two even possible ? if so how difficult it is to get something like that going ?</p>