Post

Replies

Boosts

Views

Activity

Reply to iOS 17 - gethostname()
I'm using Python (=Pythonista) and would like to readout the iPhone (host)name. Python standard is to use socket.gethostname(), which worked perfectly in iOS 16 (and also on MacOS). In iOS 17 I receive now the meaningless localhost (on every device). The alternative platform.node() returns the same useless (=localhost) value. Does someone know, how I can read out the device name ?
Feb ’24