--- author: '' category: '' date: 2004/12/07 19:02 description: '' link: '' priority: '' slug: P272 tags: StupidSheet, programming, python title: Not a calculator type: text updated: 2004/12/07 19:02 url_type: '' --- I have been playing with this code_ and it's been lots of fun. I've hacked it into a functional spreadsheet in (according to eric3) 508 lines of non-doc code, of which 244 are generated by pyuic. Here's my code so far_ (requires PyQt). Give it a look, I think it's kinda nice. The only hard part I wrote (at least hard for me) was the cell dependency and recalculation support. There's a `test file`_ you can use, too. It is trivial to add functions you can use in the cells, just lookup python docs for eval() and check engine.py. To use it, unpack it, and from the directory it creates run ``python ssheet.py`` I don't plan to make it a real spreadsheet, but it should be fun to hack on :-) .. _code: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/355045 .. _far: //ralsina.me/static/ssheet-0.1.tbz .. _test file: //ralsina.me/static/sample.sheet