From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from scanmail2.cableone.net ([24.116.0.122]) by speech.braille.uwo.ca with esmtp (Exim 3.35 #1 (Debian)) id 19PWSl-0002sy-00 for ; Mon, 09 Jun 2003 19:54:08 -0400 Received: from scanmail2.cableone.net ([10.116.0.122]) by scanmail2.cableone.net with Microsoft SMTPSVC(5.5.1877.687.68); Mon, 9 Jun 2003 16:54:04 -0700 Received: from scanmail2.cableone.net [24.116.0.122] by scanmail2.cableone.net (SMTPD32-7.04) id AE1C93A80116; Mon, 09 Jun 2003 16:54:04 -0700 Received: from glenn (24-117-239-159.cpe.cableone.net [24.117.239.159]) by mail.cableone.net with SMTP (MailShield v2.04 - WIN32 Jul 17 2001 17:12:42); Mon, 09 Jun 2003 16:54:03 -0600 Message-ID: <006601c32ee2$6fb31600$a600a8c0@glenn> From: "Glenn Ervinat home" To: References: <000701c32ecc$a8d9adb0$691817cf@130SetBC01> Subject: Re: parsing math equations Date: Mon, 9 Jun 2003 18:54:16 -0500 Organization: from Home 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 X-SMTP-HELO: glenn X-SMTP-MAIL-FROM: glennervin@cableone.net X-SMTP-PEER-INFO: 24-117-239-159.cpe.cableone.net [24.117.239.159] 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 X-Reply-To: "Glenn Ervinat home" List-Help: List-Post: List-Subscribe: , List-Id: Speakup is a screen review system for Linux. List-Unsubscribe: , List-Archive: Maybe using parenthesis would help. ----- Original Message ----- From: "Tyler Spivey" To: Sent: Monday, June 09, 2003 4:17 PM Subject: ot: parsing math equations 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... _______________________________________________ Speakup mailing list Speakup@braille.uwo.ca http://speech.braille.uwo.ca/mailman/listinfo/speakup