Detail about question:
I use following step to connect oracle from local machine.

connect to remote desktop by ip(xx.xx.xxx.xxx) and username-password
open sql developer and connect to database using hostname, port, SID/service name and username-password.

Can I do this task from local machine itself using python?
Note: I am able to connect to databases that are accessible from local machine using cx_oracle.
The firewall on the DB machine maybe set to allow Remote Desktop Protocol only.  Please check the firewall setting on the DB machine.
How to connect oracle database that is accessible from remote desktop in local machine using python?