PyDocs
Standard Library
(3.15.2)
Quick Reference
Log In
Nav
Top
Examples
0
See Also
0
Notes
0
Networking and Interprocess Communication
asyncio
mmap
select
selectors
signal
socket
ssl
All modules
PyDocs
Standard Library
Quick Ref
Log In
Staging: this is not the live site, pydocs.org.
PyDocs
Standard Library
Quick Ref
Log In
Nav
Top
Examples
0
See Also
0
Notes
0
Networking and Interprocess Communication
asyncio
mmap
select
selectors
signal
socket
ssl
All modules
sethostname
socket
function
· Added in 3.3
Unix
not Android
sethostname(name)
sethostname(name) Sets the hostname to name.
© Python Software Foundation.
PSF License Version 2
·
Official docs ↗
0 Examples
No examples for socket/sethostname.
Log in
to add an example
See Also
No see-alsos for
socket/sethostname
Log in
to add a see-also
0 Notes
No notes for
sethostname
Log in
to add a note