Moved both functions print_python and print_version before if __name__ == '__main__'. That way scripts like examples/tkvlc.py -v and -/cocoavlc.py -v will show all version information at once .
In addition, the Python line now includes the platform.machine() on macOS, important since the most recent macOS on Apple-Silicon.
Moved both functions
print_python
andprint_version
beforeif __name__ == '__main__'.
That way scripts likeexamples/tkvlc.py -v
and-/cocoavlc.py -v
will show all version information at once .In addition, the Python line now includes the
platform.machine()
on macOS, important since the most recent macOS on Apple-Silicon.