Hostname: Difference between revisions
Content added Content deleted
(added C, Perl) |
(Python version) |
||
Line 29:
$name = hostname;
==[[Python]]==
[[Category:Python]]
'''Interpreter:''' [[Python]] 2.5
import socket
socket.gethostname()
==[[Tcl]]==
|