[ale] 4 way timer
brobinso at tfn.net
brobinso at tfn.net
Mon Feb 23 12:04:37 EST 2009
> I think Python is an entirely professional and appropriate language for
> this, as could be Basic, Perl, C, C++, Ruby, Java, JavaScript (with a
> web
> page interface) or any of a couple dozen other languages, both compiled
> and interpreted.
Agreed. I didn't mean to disparage python by calling it unprofessional.
I meant something that looks professional. I know that if I write it in
python it will work, but if you sit a bunch of old guys in front of it,
they'll ask where's the shiny start button. I'm trying to impress them
with open source, not confuse them. I know they can spend a thousand
dollars to buy a piece of software, and they will, if I don't head them
off.
>
> Python, because of WxPython, may offer a couple of advantages in
> simplicity,
> readable examples and cross platform portability for a GUI interface.
> Combining
> the cool (and simple) code that Ed Cashin so kindly whipped up for
> you with the
> example "Stopwatch" WxPython code I found here (as the top hit from a
> google on
> "python stopwatch"): < http://wiki.wxpython.org/StopWatch >
> I think you could make this a reliable, working tool in a matter of a
> couple hours. I know I could, and I'm a relative novice at python
> coding.
>
> BTW, I tested the example Stopwatch code before I recommended here
> and it runs
> AS IS on my Mac here -- OSeX 10.4 with (stock) python 2.3.5 run from
> shell as
> $> pythonw stopwatch.py
> -- Adding a #!/usr/bin/pythonw shebang line to the top of the example
> and
> setting execute permissions allows me to also run it as the direct
> shell command
> $> stopwatch.py
> -- OR... setting the default app to Mac's "PythonLauncher.app",
> I can just double click on the file to run it.
>
I'll mess around with it more. That was a cool little pice of code.
> So use python and take advantage of the free examples that have just
> been
> handed to you. As you noted, we ALE'rs are smart... well.... OK...
> we just
> look smart because we've been tinkering with this 'puter stuff for a
> long
> time... but our suggestions are sound more often than not! :-)
You're right, of course, and I'll definately start there.
Thanks again,
Robert
>
> peace
> aaron
>
>
>
>
>
> peace
> aaron
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
>
More information about the Ale
mailing list