Setup Eclipse as a web editor

Setup Eclipse as a web editor

Here we are about to setup Eclipse as a “web editor”. By “web editor” I mean to setup Eclipse to support html, xml, css, js, Python, and PHP. To do that we will use the smallest Eclipse distribution type, the Eclipse Platform Runtime. Then we will add the needed plugins. Python support will use PyDev, and for PHP will use PDT…

Money-formatted numbers in SQLFORM grid

Money-formatted numbers in SQLFORM grid

In web2py SQLFORM grid, numbers are shown unformatted and left-aligned. It will be better if the numbers or money values are currency formatted, to make it easier to read. And better yet if those numbers right-aligned in the grid / table. We can use represent in...
Convert number to money format in web2py

Convert number to money format in web2py

At some point in doing web application using web2py/Python I need to show numbers in money formatted string. Seems a little problem easy to handle, at first. After searching about “money” at Python Package Index then I know it was quite complex matter involved many things…