Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/geekcomputers/Python
/ python_version
Function
python_version
sensors_information.py:5–6 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
3
import
socket
4
import
psutil
5
def
python_version():
6
return
sys.version_info
7
def
ip_addresses():
8
hostname = socket.gethostname()
9
addresses = socket.getaddrinfo(hostname, None)
Callers
1
show_sensors
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected