[Tutor] Touch Screen
Alan Gauld
alan.gauld at btinternet.com
Mon Jan 2 19:07:50 CET 2012
On 02/01/12 16:30, Alexander wrote:
> Hi. Just curious if there are any ideas on how to use python with a
> touch screen. That is a stand alone touchscreen, not something running
> on a desktop or personal computer;
A touchscreen has no intrrinsic iontelligence so it must have sopme kind
of computer behind it. That computer will need to be running an
Operating System before you can use Python. Interpreting the touchscreen
will be a function of the Operating System and you then only need to
figure out how the Operating System represents the touch screen to you
as an application programmer.
But until you know what OS is being used you can't even be sure that you
can run Python. (The good news is that some kind of Python is available
on most OS!)
> one purpose, like a cash register, running python.
Cash Register is just another application running on top of an OS (at
least in all the cases I've seen, (usually Windows), and Python would be
another application running alongside the CashRegister app.
There may be a few cash registers rthat implemenmt their own embedded
hardware monitor but the cost of developing such a thing is so high
(especially compared to Linux!) that most devices like that use a
regular OS and just disguise it with a single app as the "desktop".
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
More information about the Tutor
mailing list