The whole program in python works with real tello and simulator?

Thank you very much for the aclarations; as a rookie, I’m happy!
All the python program that works with the real tello can also work with the tello simulator using the key? Can you give me a reference of different and complicated exemples than the reference example we all have experienced?
Thank you.