Use the current Robotical app to find your Marty V2's Wi-Fi IP address. You need this address when connecting to Marty over Wi-Fi from Python or another network tool. You do not need a Wi-Fi IP address for a USB connection.
Marty must already have a Wi-Fi network configured. If you have not set this up, follow Connecting Marty to Wi-Fi first.
On the Robot settings screen, look at the Wi-Fi row near the top. Its status line shows the IP address and network name when they are available.
In this screenshot, the address is 192.168.1.11. This is an example: use the address shown for your Marty. Copy only the numeric address, not the status message or the network name after it.
Configured (paused for Bluetooth) means that Marty has Wi-Fi settings saved, but Wi-Fi is paused while the Bluetooth connection is in use. The displayed address is useful to note down, but this status does not mean Marty is currently reachable over Wi-Fi.
Before connecting from Python over Wi-Fi:
Do not use Disconnect in the Wi-Fi row just to end the Bluetooth session. That control clears Marty's saved Wi-Fi settings, so you would need to configure the network again.
An IP address can change when Marty reconnects or the network assigns a new address. If a connection fails, check the address again. For a first Python connection, follow First Steps with Python.