1 - open anydesk
2 - launch the program using python
3 - wait for someone to connect to your machine, or connect to someone's machine
4 - AnyXist will automatically grab their ip
If AnyXist says that the pulled ip is probably your own local ip, it is.
If the pulled ip has 443 as source port, its AnyDesk's server ip
If it's not 443 port and AnyXist doesen't say anything, it's your target's ip