From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from jive.softhome.net ([66.54.152.27]) by speech.braille.uwo.ca with smtp (Exim 3.35 #1 (Debian)) id 19PU1K-000188-00 for ; Mon, 09 Jun 2003 17:17:38 -0400 Received: (qmail 28409 invoked by uid 417); 9 Jun 2003 21:17:20 -0000 Received: from shunt-smtp-out-0 (HELO softhome.net) (172.16.3.12) by shunt-smtp-out-0 with SMTP; 9 Jun 2003 21:17:20 -0000 Received: from 130SetBC01 ([207.23.24.105]) (AUTH: LOGIN tspivey8@softhome.net) by softhome.net with esmtp; Mon, 09 Jun 2003 15:17:17 -0600 Message-ID: <000701c32ecc$a8d9adb0$691817cf@130SetBC01> From: "Tyler Spivey" To: speakup@braille.uwo.ca Subject: ot: parsing math equations Date: Mon, 9 Jun 2003 14:17:58 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Sender: speakup-admin@braille.uwo.ca Errors-To: speakup-admin@braille.uwo.ca X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.0.11 Precedence: bulk Reply-To: speakup@braille.uwo.ca List-Help: List-Post: List-Subscribe: , List-Id: Speakup is a screen review system for Linux. List-Unsubscribe: , List-Archive: sorry if this's off topic, but here goes: i'm writing a program in python to do varius math things. factoring, radicals, etc. but my major limitation is that it can't do anything with algebra equations. 2x^2+3x+4x-x+3y etc... would a regular expression be the answer for breaking these down into there component parts? or do I need a full-blown parser for doing that? probably the parser - but i'm not sure if any python based solutions exist. they do, but I'm not sure if they are what i want. i don't want to do any complex coding. this's just a spare-time project for getting homework done faster, and i don't want to spend hours and hours on it. it's currently topped almost 10k, but most of that are the docs contained in one very long tripple-quoted string. and all this coming from the guy who previously hated python without really trying it first...