Passing the struct to the pyton user
Passing to python both local and remote IPs