Are there any major differences or pitfalls between writing software for the Raspberry Pi boards and similar SBCs such as the Orange and Rock Pi?

Such as:

GPIO and external Hardware Interaction

OS Integration: Challenges with different OS on various SBCs

I’m mainly asking about writing in Python

Thank you for reading and for any answers.