(no title)
hrodriguez | 9 years ago
Unlike come of the other comments, as a non-programmer, I really like this. The code seems so easy to follow and tweak. I'm already getting some ideas on how I can expand on this in terms of coupling the easy english syntax to the underlying linux commands in order to display both outputs (so that newbie command-line users see what's happening behind the scenes). A few other things pop to mind but need to spend some time on the code.
In fact, I think an app like this could probably be even more useful with additional comments embedded in the source - as a learning tool. It's this kind of easy to follow code that gets people excited about programming (especially when they can tweak it right away). It's a program that works very well for what it does, doesn't need documentation except for commenting the code.
The newws.py, for example, is a little difficult to follow right away (and modify for entry-level programmers, non-programmers like myself). Commenting here would have been nice:)
I personally would love to see more apps/code like this but maybe HN isn't the place for this:-( I understand why, it's not a criticism on any deficiency here - as the audience is much more advanced.
JamilD|9 years ago
[0] https://pythonspot.com/personal-assistant-jarvis-in-python/
hrodriguez|9 years ago
I've come across similar code that I've been able to immediately cannibalize for personal use on my system. The last time was a script that displayed colored quotes whenever I opened the terminal. Learned an awful lot about coloring text output, randomizing the text and a bit about arrays because it was easy to follow and the app was complete and useful to me. As opposed to learning by snippets.
The tutorial code at pythonspot.com... not terribly friendly I'm afraid (without a detailed tutorial):-( I can understand how an advanced programmer can see logical similarities but the actual code itself scared me away.lol Sorta' like writing the same program: one in rexx and another in bash.