Hi Cosmos,
I'm glad that PrettyTable has helped you save a lot of time wasted on
boring manual formatting. :)
Thanks for reporting the problem you were having. By the looks of the
traceback you posted, you're using PrettyTable 0.5? Line 222 is not
part of the add_row function in 0.6, which is how I can tell. I
suspect that upgrading to 0.6 will make this problem go away, as 0.6
has drastically better support for Unicode, which means it won't choke
on fancy characters like sigma and psi.
The downside is that there was a fairly drastic API change from 0.5 to
0.6, so it won't necessarily be a smooth upgrade. Actually getting
0.6 will be easy, you can just use easy-install or pip whatever to do
the upgrade. Try running your code again after that. It's possible
you'll get some syntax errors. Have a look at the examples in
the tutorial document at:
https://code.google.com/p/prettytable/wiki/Tutorial
and you should be able to figure out what changes to make. If you
can't solve anything, just post the code to this list and I'll help
you out.
If you upgrade to 0.6 and get rid of all the syntax errors and it is
still choking on Greek letters, then please post the new traceback and
I'll see if I can figure out what is going on.
Cheers,
Luke