The examples files should have the "shebang" line indicating the binary that should be used to execute that specific file or it would have to be indicated as "globally" for all example files in the readme of the project indicating that all the examples should use that binary.
Examples:
Within the .py files, first line should be "#!/usr/bin/python3"
In the readme file it could have the indication for executing examples: $(which python3)
The examples files should have the "shebang" line indicating the binary that should be used to execute that specific file or it would have to be indicated as "globally" for all example files in the readme of the project indicating that all the examples should use that binary.
Examples: