The Microsoft Documentation mentioned from Flow says
The Python code does not have access to your computer, devices, or account. The Python code does not have network access.
We can close this Question.