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 1FJZ0J-0003da-DS for garchives@archives.gentoo.org; Wed, 15 Mar 2006 16:37:43 +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 k2FGaVem019732; Wed, 15 Mar 2006 16:36:31 GMT Received: from mail01.emarketsouth.com (mail01.emarketsouth.com [208.247.233.6]) by robin.gentoo.org (8.13.5.20060308/8.13.5) with SMTP id k2FGaSmR026529 for ; Wed, 15 Mar 2006 16:36:29 GMT Received: (qmail 19158 invoked by uid 399); 15 Mar 2006 16:38:08 -0000 Received: from unknown (HELO onyx) (64.192.54.4) by mail01.emarketsouth.com with SMTP; 15 Mar 2006 16:38:08 -0000 Subject: Re: [gentoo-portage-dev] Hello! && portage UI From: solar To: gentoo-portage-dev@lists.gentoo.org In-Reply-To: References: <4416DEAF.30008@gentoo.org> <200603151051.32777.pauldv@gentoo.org> <1142434334.25069.110.camel@onyx> Content-Type: text/plain; charset=ISO-8859-1 Organization: Gentoo Linux Date: Wed, 15 Mar 2006 11:36:26 -0500 Message-Id: <1142440586.6308.116.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 X-Mailer: Evolution 2.2.3 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id k2FGaVg6019732 X-Archives-Salt: b6902444-4d44-42d5-83ce-eeeecf2a6463 X-Archives-Hash: ed5430cee19078982f5092abacbc4733 On Wed, 2006-03-15 at 17:12 +0200, tvali wrote: > Could :P >=20 > Python has this interactive interpreter, what every scripting language = has. ...=20 > If you are able to run command-line app, send keyboard input and catch > it's output, you're done with it. >=20 > 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. An example please. 5 lines of code have more meaning than ~30 emails on=20 the topic that simply state 'it can be done' > 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 pytho= n > > > 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 > > > > >=20 >=20 > -- > tvali > (e-mail: "qtvali@gmail.com"; msn: "qtvali@gmail.com"; > icq: "317-492-912") >=20 > =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 --=20 solar Gentoo Linux --=20 gentoo-portage-dev@gentoo.org mailing list