pre-check for string-to-number conversion

2005-02-12 Thread 18k11tm001
I am reading an ASCII data file and converting some of the strings to integers or floats. However, some of the data is corrupted and the conversion doesn't work. I know that I can us exceptions, but they don't seem like the cleanest and simplest solution to me. I would like to simply perform a pre-

Re: pre-check for string-to-number conversion

2005-02-12 Thread 18k11tm001
Yes, I suppose exceptions are the best way to handle this problem. Thanks. -- http://mail.python.org/mailman/listinfo/python-list

Re: Commerical graphing packages?

2005-02-12 Thread 18k11tm001
Check out GRACE. It's not specifically designed for Python, but I've been using with Python for a couple of years or more. I'm very happy with it, and it's free. It works both interactively and in batch mode. Do a google on GRACE. -- http://mail.python.org/mailman/listinfo/python-list

Re: Commerical graphing packages?

2005-02-12 Thread 18k11tm001
>If you're generating lots of graphs programatically, eg. on a web >server, grace is not what you want. Yes, it has a command language, >but IIRC it depends on X11, and windows even pop up as it runs in >batch mode. Bleh. I don't understand what you're talking about. I've been using GRACE in bat