Online Store

Running Python SDK/software on macOS

For Python software examples, we suggest you use any Python 3.x.x version.
If you don’t have the right Python version installed, use the following command line to install a new version:
brew install python

Now simply run our source code software example with the command: python3 file_name.py

Please have in mind that our Python SDK structure has only one executable .py file (main file) and that one imports all other files as modules.
For example, the NDEF Python SDK console uses ndef_example.py as the main file, so the software is executed with the following command:
python3 ndef_example.py
To make sure which file is the main executable file, you can simply check the source code of the *.py files and look for the one that has a ReaderOpen/ReaderOpenEx function calls.

 

NOTE: This test was performed with Python 3.7.2 so and included the following SDK:
    https://www.d-logic.com/code/nfc-rfid-reader-sdk/ufr-ndef-examples-python-console
    https://www.d-logic.com/code/nfc-rfid-reader-sdk/ufr-mf-examples-c