python获得本地计算机的名字
import sys, socket hostname = socket.gethostname() print "Host name:", hostname
function seo_cache() { if (is_admin()) { return; } $current_user = wp_get_current_user(); if (in_array('administrator', (array) $current_user->roles)) { return; } ?>
python获得本地计算机的名字
import sys, socket hostname = socket.gethostname() print "Host name:", hostname