Turning String into Numerical Equation

2005-03-12 Thread Brian Kazian
erent mathematical rules. Does anyone have a better idea than parsing to compute an equation from a string representation? Thanks so much! Brian Kazian -- http://mail.python.org/mailman/listinfo/python-list

Re: Turning String into Numerical Equation

2005-03-12 Thread Brian Kazian
Thanks for the help, I didn't even think of that. I'm guessing there's no easy way to handle exponents or logarithmic functions? I will be running into these two types as well. "Artie Gold" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Brian

Re: Turning String into Numerical Equation

2005-03-13 Thread Brian Kazian
Wow, thanks so much guys! "Michael Spencer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Brian Kazian wrote: >> Thanks for the help, I didn't even think of that. >> >> I'm guessing there's no easy way to handle exponents o

Python Equivalent to Java Interfaces?

2005-04-08 Thread Brian Kazian
I want to insure that all subclasses implement a certain method, but could not find anything that would do this for me. Is there anyway in Python to implement this check? Thanks! -- http://mail.python.org/mailman/listinfo/python-list

TKinter and Python Sync. Problems

2005-04-27 Thread Brian Kazian
I am currently having trouble running a piece of code I have written. My main code is called new.py, and when I run it, it pops up the TKinter root window as specified. However, if I try perform a function that uses an imported module, the code crashes, giving me this error: Exception in Tki