Program help
Mike Meyer
mwm at mired.org
Sun Oct 2 16:44:59 EDT 2005
"FX" <taranfx at gmail.com> writes:
> can anybody write a code for a program that reads from a
> /location/file & according to file contents, it execute script. e.g. if
> file contains "mp" it runs media player.
> I hope the code is small .. plz help me out!
open <URL: http://www.mired.org/downloads/ > will use the extension to
figure out what to do. It's relatively small.
<mike
--
Mike Meyer <mwm at mired.org> http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
More information about the Python-list
mailing list