Answer the question
In order to leave comments, you need to log in
Python, Python Web: Can it work with device hardware?
Good day.
Is it possible to write an application written in Python to work with the hardware of the device?
There are devices with Windows Embedded Compact 7 (WinCE) on board that perform the data collection function. The Python port on WinCE is not suitable for application development (port version 2.x, planned version for use 3.x)
Is it possible to implement control, receive data, send data using the device hardware via a Web application written in Python? ?
For example: A user scans one or more barcodes from a product for pricing/availability/other information. The scanned barcode is entered into the database (located locally/remotely) and information on the product is displayed on the display. The user prints a "ticket" with information on a mobile printer that is connected to the device via Bluetooth.
Answer the question
In order to leave comments, you need to log in
Hello.
As one possible solution, you can write a peripherals module in C/C++, compile it into a dynamic library and use it from Python.
For more information on integrating Python and C/C++, see Lutz "Lutz - Python Programming Volume 2" in Chapter 20.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question