Re: bash vs. python scripts - which one is better?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/19/07 14:48, Manon Metten wrote:
Hi Ron,

On 8/19/07, Ron Johnson <ron.l.johnson@xxxxxxx> wrote:

Python + Tcl/Tk should be easier than Python + Gtk.


Thanks.


Even simpler would be bash + dialog or it's GUI companion gtkdialog.


Could you mail me some examples you wrote, please?

I've never had to write any.

Google lists a lot of examples and tutorials, though. Here are some
that I quickly found by searching for linux+dialog+command.


http://www.linuxjournal.com/article/2460
http://www.freeos.com/guides/lsst/
http://www.freeos.com/guides/lsst/ch04sec6.html
http://www.freeos.com/guides/lsst/ch04sec7.html
https://cepserver.tce.edu/pipermail/glugot/2005-August/000393.html
http://www.linux.com/articles/55389
http://ayaz.wordpress.com/2006/08/15/dialog-using-dialog-boxes-to-interact-with-users-on-a-linux-console/


I find this much more comfortable than eg. typing:
rx mp3conv.rexx 256kbps ~/mp3/work
Even better: I run this script from within my dir util (DirOpus ==
Konqueror), so I don't have to type anything.
Your geek cred just dropped. Substantially.


Why, just tell me why?

Because you want to point and click instead of run a script.

(Even if it's easier, that doesn't matter.)

But that's ok. Really. Honestly, we won't snicker about you while
sipping pretentious and outrageously expensive microbrew. I swear.


Beware, Big Brother's watching you :-)

:)

- --
Ron Johnson, Jr.
Jefferson LA USA

Give a man a fish, and he eats for a day.
Hit him with a fish, and he goes away for good!

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGyMWVS9HxQb37XmcRAijVAJ97+/n8kGleOMFE0SWiNIqFqqxtnACgluDQ
0vRNq0UiTT1pra/i576O3fQ=
=Kmkr
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: bash vs. python scripts - which one is better?
    ... Because to some Perl is horrible compared to Python. ... Correct me if I'm wrong but wouldn't I just end up with with a bunch of ... Give a man a fish, and he eats for a day. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: system load spike
    ... Depending on the script you could introduce a "sleep 1" between each ... Therefore it's difficult to insert "sleep" into there. ... Give a man a fish, and he eats for a day. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • crontab problem: multiple processes at the same time
    ... process (python script) is running or not. ... it should start a new process of the same python ... I googled and found out that Via chipsets (or ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Organising MP3 Files into folders
    ... music collection, which used to be neatly sorted into folders with ... A script seems simplest to me. ... Give a man a fish, and he eats for a day. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: replacement for apt-listchanges?
    ... python, and the result was the same). ... python-apt broke, ... Give a man a fish, and he eats for a day. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)