From: "Tyler Spivey" <tspivey8@softhome.net>
To: speakup@braille.uwo.ca
Subject: ot: parsing math equations
Date: Mon, 9 Jun 2003 14:17:58 -0700 [thread overview]
Message-ID: <000701c32ecc$a8d9adb0$691817cf@130SetBC01> (raw)
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...
next reply other threads:[~ UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
Tyler Spivey [this message]
` Glenn Ervinat home
` ot: " Owen Patrick Smith
` Charles Crawford
` Chuck Hallenbeck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='000701c32ecc$a8d9adb0$691817cf@130SetBC01' \
--to=tspivey8@softhome.net \
--cc=speakup@braille.uwo.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).