View Single Post
Posts: 540 | Thanked: 288 times | Joined on Sep 2009
#9
Trivial calculator attached, copy to /home/user/wwcalc.py them via terminal run following command:

"chmod a+x wwcalc.py"

whenever you want to use it via terminal run

"./wwcalc.py"

Adding .desktop file, icon and debian packaging is part of the tedious stuff I don't want to think about now.

However I already started thinking of the log data model etc so it may be that I have to write some more code soonish (say weekend) just to get it out of my system.

Edit: and if it complains something like "cannot import" then install PyGTKEditor from extras, that will get you all the dependencies you need.

Edit2: typo fix in chmod command.
Attached Files
File Type: txt wwcalc.py.txt (2.4 KB, 123 views)

Last edited by rambo; 2010-03-26 at 05:39.
 

The Following User Says Thank You to rambo For This Useful Post: