From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id HAA20297; Thu, 29 Apr 2004 07:45:33 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id HAA20288 for ; Thu, 29 Apr 2004 07:45:32 +0200 (MET DST) Received: from kraid.nerim.net (smtp-104-thursday.nerim.net [62.4.16.104]) by nez-perce.inria.fr (8.12.10/8.12.10) with ESMTP id i3T5jVjq000746 for ; Thu, 29 Apr 2004 07:45:32 +0200 Received: from hector.lesours (ours.starynkevitch.net [213.41.130.15]) by kraid.nerim.net (Postfix) with ESMTP id 6D2C74160C; Thu, 29 Apr 2004 07:45:29 +0200 (CEST) Received: from basile by hector.lesours with local (Exim 4.32) id 1BJ4MV-0005CI-01; Thu, 29 Apr 2004 07:45:31 +0200 Date: Thu, 29 Apr 2004 07:45:30 +0200 To: Max Powers , caml-list@inria.fr Subject: Re: [Caml-list] Calling Ocaml from Python Message-ID: <20040429054530.GA19876@ours.starynkevitch.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.5.1+cvs20040105i From: Basile STARYNKEVITCH X-Miltered: at nez-perce by Joe's j-chkmail ("http://j-chkmail.ensmp.fr")! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 python:01 basile:01 basile:01 2004:99 python:01 gui:01 gui:01 guis:01 textual:01 guis:01 faiencerie:01 92340:01 reine:01 nerim:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Thu, Apr 29, 2004 at 12:39:24PM +0930, Max Powers wrote: > This is a bit of a repeat of a question that I posted to comp.lang.python > (sorry to anyone who was there too!). I'm looking for some advice on > integrating a python GUI with an OCaml library. (Note: I'm fairly new to > both ocaml and python; more of a perl and c++ programmer!) You might consider having the GUI in Python and the main OCaml program be two different processes communicating thru pipes. You might even consider using my GUIS program, which is a GUI GTK "server" listening on an input pipe (which could be written by your Ocaml program) for Python commands and writing on an output pipe arbitrary textual stuff (which have to be parsed by your Ocaml). GUIS is available from http://starynkevitch.net/Basile/guisdoc.html (I intend to make a new release of GUIS in a few weeks - if you are interested and/or want more features, it is the time to tell me). -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet aliases: basiletunesorg = bstarynknerimnet 8, rue de la Faïencerie, 92340 Bourg La Reine, France ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners