Comm. between Python and PHP

Tim Roberts timr at probo.com
Wed Feb 23 02:30:41 EST 2005


Nils Emil P. Larsen <ne-nospam7 at post.cybercity.dk> wrote:
>
>Hello
>
>I'm building a daemon in Python. It will measure and control some
>physical devices on a serial bus. Since it is a daemon, it will never
>terminate and I can't interfere with the regulation of the devices by
>using command line parameters. I want to control the regulation by
>using a Internet browser.
>
>What is the easiest way to make my threaded Python daemon communicate
>with a PHP-script running from Apache2 on localhost?

Python is perfectly capable of generating HTML.  You don't have to demean
yourself by working in PHP.

Sockets and pipe files are common methods of communicating with a daemon.
-- 
- Tim Roberts, timr at probo.com
  Providenza & Boekelheide, Inc.



More information about the Python-list mailing list