From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1FJXgJ-0007TH-NY for garchives@archives.gentoo.org; Wed, 15 Mar 2006 15:13:00 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5.20060308/8.13.5) with SMTP id k2FFCGH4026101; Wed, 15 Mar 2006 15:12:16 GMT Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.197]) by robin.gentoo.org (8.13.5.20060308/8.13.5) with ESMTP id k2FFCGFE019257 for ; Wed, 15 Mar 2006 15:12:16 GMT Received: by nproxy.gmail.com with SMTP id a25so91462nfc for ; Wed, 15 Mar 2006 07:12:15 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=qh6WsbcyGxj6XmgT4PPLWgAPxfqD+quYHMvo8WQ24DILqykys6G/H88d9g+yAVYd5In+zjDVbnf+Rn/Qrbd1ai8H4FlPqzBM+NHmiBWvJmXOWnqd+PGV7iwDvgmzuQHY21pYet9oS77wyMAjHFeiNQ2gitbRgvOPhFBGTrVrfic= Received: by 10.48.226.11 with SMTP id y11mr304473nfg; Wed, 15 Mar 2006 07:12:15 -0800 (PST) Received: by 10.49.29.4 with HTTP; Wed, 15 Mar 2006 07:12:15 -0800 (PST) Message-ID: Date: Wed, 15 Mar 2006 17:12:15 +0200 From: tvali To: gentoo-portage-dev@lists.gentoo.org Subject: Re: [gentoo-portage-dev] Hello! && portage UI In-Reply-To: <1142434334.25069.110.camel@onyx> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline References: <4416DEAF.30008@gentoo.org> <200603151051.32777.pauldv@gentoo.org> <1142434334.25069.110.camel@onyx> X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id k2FFCGFE019257 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id k2FFCGIM026101 X-Archives-Salt: 40a8c2da-ff01-48af-b1cd-437de8782128 X-Archives-Hash: 346e6495818b08ec4de08aa092b82784 Could :P Python has this interactive interpreter, what every scripting language ha= s. If you are able to run command-line app, send keyboard input and catch it's output, you're done with it. You can also write some small python function, which will parse python variables into some form, which you can simply parse into something, what is easily readable in C. 2006/3/15, solar : > On Wed, 2006-03-15 at 10:51 +0100, Paul de Vrieze wrote: > > [snip] > > > Actually, C++ being strongly related to C, can just use the C python > > api's. As such it could directly interface with python, and use the > > python portage api. > > If you could demonstrate an 'import portage' and a simple > printf("PORTDIR=3D%s\n", PORTDIR); in C I'd be highly interested. > > -- > solar > Gentoo Linux > > -- > gentoo-portage-dev@gentoo.org mailing list > > -- tvali (e-mail: "qtvali@gmail.com"; msn: "qtvali@gmail.com"; icq: "317-492-912") =DChe eesti internetifirma lehel kohtasin tsitaati: If you don't do it excellently, dont do it at all. Because if it's not excellent, it won't be profitable or fun, and if you're not in business for fun or profit, what the hell are you doing here? Robert Townsend --=20 gentoo-portage-dev@gentoo.org mailing list