{"id":785,"date":"2019-05-15T08:55:44","date_gmt":"2019-05-15T05:55:44","guid":{"rendered":"https:\/\/skilx.cc\/unlix\/?p=785"},"modified":"2019-10-28T12:25:03","modified_gmt":"2019-10-28T09:25:03","slug":"%d0%bf%d0%b8%d0%bd%d0%b3%d1%83%d0%b5%d0%bc-%d1%85%d0%be%d1%81%d1%82-%d0%b8%d0%bb%d0%b8-ip-%d0%b0%d0%b4%d1%80%d0%b5%d1%81-python","status":"publish","type":"post","link":"https:\/\/skilx.cc\/unlix\/%d0%bf%d0%b8%d0%bd%d0%b3%d1%83%d0%b5%d0%bc-%d1%85%d0%be%d1%81%d1%82-%d0%b8%d0%bb%d0%b8-ip-%d0%b0%d0%b4%d1%80%d0%b5%d1%81-python\/","title":{"rendered":"\u041f\u0438\u043d\u0433\u0443\u0435\u043c \u0445\u043e\u0441\u0442 \u0438\u043b\u0438 IP \u0430\u0434\u0440\u0435\u0441 \u0441 \u043b\u044e\u0431\u043e\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b \u043d\u0430 Python"},"content":{"rendered":"<p>\u041f\u043b\u044e\u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u043e\u0433\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043e\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0430 \u043b\u044e\u0431\u043e\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435 (UNIX, Linux, MacOS, Windows)<!--more--><\/p>\n<p><code>import platform    # \u0414\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u043c\u044f \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b (\u041e\u0421)<br \/>\nimport subprocess  # \u0414\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434<br \/>\ndef ping(host):<br \/>\n    # \u041a\u043e\u043b-\u0432\u043e \u043f\u0430\u043a\u0435\u0442\u043e\u0432<br \/>\n    param = '-n' if platform.system().lower()=='windows' else '-c'<br \/>\n    # \u0421\u0430\u043c\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \"ping -c 1 host\"<br \/>\n    command = ['ping', param, '1', host]<br \/>\n    return subprocess.call(command) == 0<br \/>\n# \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u0442\u0430\u043a<br \/>\nping('google.com')<\/code><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u043b\u044e\u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u043e\u0433\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043e\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0430 \u043b\u044e\u0431\u043e\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435 (UNIX, Linux, MacOS, Windows)<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[919,917],"tags":[965,233,535,925,235,618,964],"class_list":["post-785","post","type-post","status-publish","format-standard","hentry","category-python","category-917","tag-host","tag-ip","tag-ping","tag-python","tag-235","tag-618","tag-964"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.9 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041f\u043b\u044e\u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u043e\u0433\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043e\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0430 \u043b\u044e\u0431\u043e\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435 (UNIX, Linux, MacOS, Windows) import platform # \u0414\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u043c\u044f \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b (\u041e\u0421) import subprocess # \u0414\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434 def ping(host): # \u041a\u043e\u043b-\u0432\u043e \u043f\u0430\u043a\u0435\u0442\u043e\u0432 param = &#039;-n&#039; if platform.system().lower()==&#039;windows&#039; else &#039;-c&#039; # \u0421\u0430\u043c\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 &quot;ping -c 1 host&quot; command = [&#039;ping&#039;, param, &#039;1&#039;,\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"UNLIX\"\/>\n\t<meta name=\"keywords\" content=\"host,ip,ping,python,\u0430\u0434\u0440\u0435\u0441,\u043f\u0438\u043d\u0433,\u0445\u043e\u0441\u0442,\u044f\u0437\u044b\u043a\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/skilx.cc\/unlix\/%d0%bf%d0%b8%d0%bd%d0%b3%d1%83%d0%b5%d0%bc-%d1%85%d0%be%d1%81%d1%82-%d0%b8%d0%bb%d0%b8-ip-%d0%b0%d0%b4%d1%80%d0%b5%d1%81-python\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.9\" \/>\n\t\t<meta property=\"og:locale\" content=\"ru_RU\" \/>\n\t\t<meta property=\"og:site_name\" content=\"UNLIX - \u0437\u0430\u043c\u0435\u0442\u043a\u0438 \u043e UNIX \u0438 LINUX \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\u041f\u0438\u043d\u0433\u0443\u0435\u043c \u0445\u043e\u0441\u0442 \u0438\u043b\u0438 IP \u0430\u0434\u0440\u0435\u0441 \u0441 \u043b\u044e\u0431\u043e\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b \u043d\u0430 Python | UNLIX\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041f\u043b\u044e\u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u043e\u0433\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043e\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0430 \u043b\u044e\u0431\u043e\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435 (UNIX, Linux, MacOS, Windows) import platform # \u0414\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u043c\u044f \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b (\u041e\u0421) import subprocess # \u0414\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434 def ping(host): # \u041a\u043e\u043b-\u0432\u043e \u043f\u0430\u043a\u0435\u0442\u043e\u0432 param = &#039;-n&#039; if platform.system().lower()==&#039;windows&#039; else &#039;-c&#039; # \u0421\u0430\u043c\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 &quot;ping -c 1 host&quot; command = [&#039;ping&#039;, param, &#039;1&#039;,\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/skilx.cc\/unlix\/%d0%bf%d0%b8%d0%bd%d0%b3%d1%83%d0%b5%d0%bc-%d1%85%d0%be%d1%81%d1%82-%d0%b8%d0%bb%d0%b8-ip-%d0%b0%d0%b4%d1%80%d0%b5%d1%81-python\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/unlix.ru\/wp-content\/uploads\/2018\/11\/unlix_logo.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/unlix.ru\/wp-content\/uploads\/2018\/11\/unlix_logo.jpg\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-05-15T05:55:44+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-10-28T09:25:03+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"\u041f\u0438\u043d\u0433\u0443\u0435\u043c \u0445\u043e\u0441\u0442 \u0438\u043b\u0438 IP \u0430\u0434\u0440\u0435\u0441 \u0441 \u043b\u044e\u0431\u043e\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b \u043d\u0430 Python | UNLIX\" \/>\n\t\t<meta name=\"twitter:description\" content=\"\u041f\u043b\u044e\u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u043e\u0433\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043e\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0430 \u043b\u044e\u0431\u043e\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435 (UNIX, Linux, MacOS, Windows) import platform # \u0414\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u043c\u044f \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b (\u041e\u0421) import subprocess # \u0414\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434 def ping(host): # \u041a\u043e\u043b-\u0432\u043e \u043f\u0430\u043a\u0435\u0442\u043e\u0432 param = &#039;-n&#039; if platform.system().lower()==&#039;windows&#039; else &#039;-c&#039; # \u0421\u0430\u043c\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 &quot;ping -c 1 host&quot; command = [&#039;ping&#039;, param, &#039;1&#039;,\" \/>\n\t\t<meta name=\"twitter:image\" content=\"http:\/\/unlix.ru\/wp-content\/uploads\/2018\/11\/unlix_logo.jpg\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/%d0%bf%d0%b8%d0%bd%d0%b3%d1%83%d0%b5%d0%bc-%d1%85%d0%be%d1%81%d1%82-%d0%b8%d0%bb%d0%b8-ip-%d0%b0%d0%b4%d1%80%d0%b5%d1%81-python\\\/#article\",\"name\":\"\\u041f\\u0438\\u043d\\u0433\\u0443\\u0435\\u043c \\u0445\\u043e\\u0441\\u0442 \\u0438\\u043b\\u0438 IP \\u0430\\u0434\\u0440\\u0435\\u0441 \\u0441 \\u043b\\u044e\\u0431\\u043e\\u0439 \\u043f\\u043b\\u0430\\u0442\\u0444\\u043e\\u0440\\u043c\\u044b \\u043d\\u0430 Python | UNLIX\",\"headline\":\"\\u041f\\u0438\\u043d\\u0433\\u0443\\u0435\\u043c \\u0445\\u043e\\u0441\\u0442 \\u0438\\u043b\\u0438 IP \\u0430\\u0434\\u0440\\u0435\\u0441 \\u0441 \\u043b\\u044e\\u0431\\u043e\\u0439 \\u043f\\u043b\\u0430\\u0442\\u0444\\u043e\\u0440\\u043c\\u044b \\u043d\\u0430 Python\",\"author\":{\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/author\\\/admin\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/#organization\"},\"datePublished\":\"2019-05-15T08:55:44+03:00\",\"dateModified\":\"2019-10-28T12:25:03+03:00\",\"inLanguage\":\"ru-RU\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/%d0%bf%d0%b8%d0%bd%d0%b3%d1%83%d0%b5%d0%bc-%d1%85%d0%be%d1%81%d1%82-%d0%b8%d0%bb%d0%b8-ip-%d0%b0%d0%b4%d1%80%d0%b5%d1%81-python\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/%d0%bf%d0%b8%d0%bd%d0%b3%d1%83%d0%b5%d0%bc-%d1%85%d0%be%d1%81%d1%82-%d0%b8%d0%bb%d0%b8-ip-%d0%b0%d0%b4%d1%80%d0%b5%d1%81-python\\\/#webpage\"},\"articleSection\":\"Python, \\u042f\\u0437\\u044b\\u043a\\u0438 \\u043f\\u0440\\u043e\\u0433\\u0440\\u0430\\u043c\\u043c\\u0438\\u0440\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f, host, ip, ping, python, \\u0430\\u0434\\u0440\\u0435\\u0441, \\u043f\\u0438\\u043d\\u0433, \\u0445\\u043e\\u0441\\u0442\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/%d0%bf%d0%b8%d0%bd%d0%b3%d1%83%d0%b5%d0%bc-%d1%85%d0%be%d1%81%d1%82-%d0%b8%d0%bb%d0%b8-ip-%d0%b0%d0%b4%d1%80%d0%b5%d1%81-python\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/skilx.cc\\\/unlix\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/category\\\/%d1%8f%d0%b7%d1%8b%d0%ba%d0%b8-%d0%bf%d1%80%d0%be%d0%b3%d1%80%d0%b0%d0%bc%d0%bc%d0%b8%d1%80%d0%be%d0%b2%d0%b0%d0%bd%d0%b8%d1%8f\\\/#listItem\",\"name\":\"\\u042f\\u0437\\u044b\\u043a\\u0438 \\u043f\\u0440\\u043e\\u0433\\u0440\\u0430\\u043c\\u043c\\u0438\\u0440\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/category\\\/%d1%8f%d0%b7%d1%8b%d0%ba%d0%b8-%d0%bf%d1%80%d0%be%d0%b3%d1%80%d0%b0%d0%bc%d0%bc%d0%b8%d1%80%d0%be%d0%b2%d0%b0%d0%bd%d0%b8%d1%8f\\\/#listItem\",\"position\":2,\"name\":\"\\u042f\\u0437\\u044b\\u043a\\u0438 \\u043f\\u0440\\u043e\\u0433\\u0440\\u0430\\u043c\\u043c\\u0438\\u0440\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f\",\"item\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/category\\\/%d1%8f%d0%b7%d1%8b%d0%ba%d0%b8-%d0%bf%d1%80%d0%be%d0%b3%d1%80%d0%b0%d0%bc%d0%bc%d0%b8%d1%80%d0%be%d0%b2%d0%b0%d0%bd%d0%b8%d1%8f\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/category\\\/%d1%8f%d0%b7%d1%8b%d0%ba%d0%b8-%d0%bf%d1%80%d0%be%d0%b3%d1%80%d0%b0%d0%bc%d0%bc%d0%b8%d1%80%d0%be%d0%b2%d0%b0%d0%bd%d0%b8%d1%8f\\\/python\\\/#listItem\",\"name\":\"Python\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/category\\\/%d1%8f%d0%b7%d1%8b%d0%ba%d0%b8-%d0%bf%d1%80%d0%be%d0%b3%d1%80%d0%b0%d0%bc%d0%bc%d0%b8%d1%80%d0%be%d0%b2%d0%b0%d0%bd%d0%b8%d1%8f\\\/python\\\/#listItem\",\"position\":3,\"name\":\"Python\",\"item\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/category\\\/%d1%8f%d0%b7%d1%8b%d0%ba%d0%b8-%d0%bf%d1%80%d0%be%d0%b3%d1%80%d0%b0%d0%bc%d0%bc%d0%b8%d1%80%d0%be%d0%b2%d0%b0%d0%bd%d0%b8%d1%8f\\\/python\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/%d0%bf%d0%b8%d0%bd%d0%b3%d1%83%d0%b5%d0%bc-%d1%85%d0%be%d1%81%d1%82-%d0%b8%d0%bb%d0%b8-ip-%d0%b0%d0%b4%d1%80%d0%b5%d1%81-python\\\/#listItem\",\"name\":\"\\u041f\\u0438\\u043d\\u0433\\u0443\\u0435\\u043c \\u0445\\u043e\\u0441\\u0442 \\u0438\\u043b\\u0438 IP \\u0430\\u0434\\u0440\\u0435\\u0441 \\u0441 \\u043b\\u044e\\u0431\\u043e\\u0439 \\u043f\\u043b\\u0430\\u0442\\u0444\\u043e\\u0440\\u043c\\u044b \\u043d\\u0430 Python\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/category\\\/%d1%8f%d0%b7%d1%8b%d0%ba%d0%b8-%d0%bf%d1%80%d0%be%d0%b3%d1%80%d0%b0%d0%bc%d0%bc%d0%b8%d1%80%d0%be%d0%b2%d0%b0%d0%bd%d0%b8%d1%8f\\\/#listItem\",\"name\":\"\\u042f\\u0437\\u044b\\u043a\\u0438 \\u043f\\u0440\\u043e\\u0433\\u0440\\u0430\\u043c\\u043c\\u0438\\u0440\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/%d0%bf%d0%b8%d0%bd%d0%b3%d1%83%d0%b5%d0%bc-%d1%85%d0%be%d1%81%d1%82-%d0%b8%d0%bb%d0%b8-ip-%d0%b0%d0%b4%d1%80%d0%b5%d1%81-python\\\/#listItem\",\"position\":4,\"name\":\"\\u041f\\u0438\\u043d\\u0433\\u0443\\u0435\\u043c \\u0445\\u043e\\u0441\\u0442 \\u0438\\u043b\\u0438 IP \\u0430\\u0434\\u0440\\u0435\\u0441 \\u0441 \\u043b\\u044e\\u0431\\u043e\\u0439 \\u043f\\u043b\\u0430\\u0442\\u0444\\u043e\\u0440\\u043c\\u044b \\u043d\\u0430 Python\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/category\\\/%d1%8f%d0%b7%d1%8b%d0%ba%d0%b8-%d0%bf%d1%80%d0%be%d0%b3%d1%80%d0%b0%d0%bc%d0%bc%d0%b8%d1%80%d0%be%d0%b2%d0%b0%d0%bd%d0%b8%d1%8f\\\/python\\\/#listItem\",\"name\":\"Python\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/#organization\",\"name\":\"UNLIX\",\"description\":\"\\u0437\\u0430\\u043c\\u0435\\u0442\\u043a\\u0438 \\u043e UNIX \\u0438 LINUX \\u0441\\u0438\\u0441\\u0442\\u0435\\u043c\\u0430\\u0445\",\"url\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/author\\\/admin\\\/#author\",\"url\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/author\\\/admin\\\/\",\"name\":\"UNLIX\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/%d0%bf%d0%b8%d0%bd%d0%b3%d1%83%d0%b5%d0%bc-%d1%85%d0%be%d1%81%d1%82-%d0%b8%d0%bb%d0%b8-ip-%d0%b0%d0%b4%d1%80%d0%b5%d1%81-python\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/eb658ed897a5bd13cad2519cd095d49eb0268cd23e9c6ae956a0bdc37bfd9ae8?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"UNLIX\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/%d0%bf%d0%b8%d0%bd%d0%b3%d1%83%d0%b5%d0%bc-%d1%85%d0%be%d1%81%d1%82-%d0%b8%d0%bb%d0%b8-ip-%d0%b0%d0%b4%d1%80%d0%b5%d1%81-python\\\/#webpage\",\"url\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/%d0%bf%d0%b8%d0%bd%d0%b3%d1%83%d0%b5%d0%bc-%d1%85%d0%be%d1%81%d1%82-%d0%b8%d0%bb%d0%b8-ip-%d0%b0%d0%b4%d1%80%d0%b5%d1%81-python\\\/\",\"name\":\"\\u041f\\u0438\\u043d\\u0433\\u0443\\u0435\\u043c \\u0445\\u043e\\u0441\\u0442 \\u0438\\u043b\\u0438 IP \\u0430\\u0434\\u0440\\u0435\\u0441 \\u0441 \\u043b\\u044e\\u0431\\u043e\\u0439 \\u043f\\u043b\\u0430\\u0442\\u0444\\u043e\\u0440\\u043c\\u044b \\u043d\\u0430 Python | UNLIX\",\"description\":\"\\u041f\\u043b\\u044e\\u0441 \\u0438\\u0441\\u043f\\u043e\\u043b\\u044c\\u0437\\u0443\\u0435\\u043c\\u043e\\u0433\\u043e \\u0440\\u0435\\u0448\\u0435\\u043d\\u0438\\u044f \\u0432 \\u0442\\u043e\\u043c, \\u0447\\u0442\\u043e \\u043e\\u043d\\u043e \\u0440\\u0430\\u0431\\u043e\\u0442\\u0430\\u0435\\u0442 \\u043d\\u0430 \\u043b\\u044e\\u0431\\u043e\\u0439 \\u043f\\u043b\\u0430\\u0442\\u0444\\u043e\\u0440\\u043c\\u0435 (UNIX, Linux, MacOS, Windows) import platform # \\u0414\\u043b\\u044f \\u0442\\u043e\\u0433\\u043e \\u0447\\u0442\\u043e\\u0431\\u044b \\u043f\\u043e\\u043b\\u0443\\u0447\\u0438\\u0442\\u044c \\u0438\\u043c\\u044f \\u043f\\u043b\\u0430\\u0442\\u0444\\u043e\\u0440\\u043c\\u044b (\\u041e\\u0421) import subprocess # \\u0414\\u043b\\u044f \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u0438\\u044f \\u043a\\u043e\\u043c\\u0430\\u043d\\u0434 def ping(host): # \\u041a\\u043e\\u043b-\\u0432\\u043e \\u043f\\u0430\\u043a\\u0435\\u0442\\u043e\\u0432 param = '-n' if platform.system().lower()=='windows' else '-c' # \\u0421\\u0430\\u043c\\u0430 \\u043a\\u043e\\u043c\\u0430\\u043d\\u0434\\u0430 \\\"ping -c 1 host\\\" command = ['ping', param, '1',\",\"inLanguage\":\"ru-RU\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/%d0%bf%d0%b8%d0%bd%d0%b3%d1%83%d0%b5%d0%bc-%d1%85%d0%be%d1%81%d1%82-%d0%b8%d0%bb%d0%b8-ip-%d0%b0%d0%b4%d1%80%d0%b5%d1%81-python\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/author\\\/admin\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/author\\\/admin\\\/#author\"},\"datePublished\":\"2019-05-15T08:55:44+03:00\",\"dateModified\":\"2019-10-28T12:25:03+03:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/#website\",\"url\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/\",\"name\":\"UNLIX\",\"description\":\"\\u0437\\u0430\\u043c\\u0435\\u0442\\u043a\\u0438 \\u043e UNIX \\u0438 LINUX \\u0441\\u0438\\u0441\\u0442\\u0435\\u043c\\u0430\\u0445\",\"inLanguage\":\"ru-RU\",\"publisher\":{\"@id\":\"https:\\\/\\\/skilx.cc\\\/unlix\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\u041f\u0438\u043d\u0433\u0443\u0435\u043c \u0445\u043e\u0441\u0442 \u0438\u043b\u0438 IP \u0430\u0434\u0440\u0435\u0441 \u0441 \u043b\u044e\u0431\u043e\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b \u043d\u0430 Python | UNLIX","description":"\u041f\u043b\u044e\u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u043e\u0433\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043e\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0430 \u043b\u044e\u0431\u043e\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435 (UNIX, Linux, MacOS, Windows) import platform # \u0414\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u043c\u044f \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b (\u041e\u0421) import subprocess # \u0414\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434 def ping(host): # \u041a\u043e\u043b-\u0432\u043e \u043f\u0430\u043a\u0435\u0442\u043e\u0432 param = '-n' if platform.system().lower()=='windows' else '-c' # \u0421\u0430\u043c\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \"ping -c 1 host\" command = ['ping', param, '1',","canonical_url":"https:\/\/skilx.cc\/unlix\/%d0%bf%d0%b8%d0%bd%d0%b3%d1%83%d0%b5%d0%bc-%d1%85%d0%be%d1%81%d1%82-%d0%b8%d0%bb%d0%b8-ip-%d0%b0%d0%b4%d1%80%d0%b5%d1%81-python\/","robots":"max-image-preview:large","keywords":"host,ip,ping,python,\u0430\u0434\u0440\u0435\u0441,\u043f\u0438\u043d\u0433,\u0445\u043e\u0441\u0442,\u044f\u0437\u044b\u043a\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/skilx.cc\/unlix\/%d0%bf%d0%b8%d0%bd%d0%b3%d1%83%d0%b5%d0%bc-%d1%85%d0%be%d1%81%d1%82-%d0%b8%d0%bb%d0%b8-ip-%d0%b0%d0%b4%d1%80%d0%b5%d1%81-python\/#article","name":"\u041f\u0438\u043d\u0433\u0443\u0435\u043c \u0445\u043e\u0441\u0442 \u0438\u043b\u0438 IP \u0430\u0434\u0440\u0435\u0441 \u0441 \u043b\u044e\u0431\u043e\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b \u043d\u0430 Python | UNLIX","headline":"\u041f\u0438\u043d\u0433\u0443\u0435\u043c \u0445\u043e\u0441\u0442 \u0438\u043b\u0438 IP \u0430\u0434\u0440\u0435\u0441 \u0441 \u043b\u044e\u0431\u043e\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b \u043d\u0430 Python","author":{"@id":"https:\/\/skilx.cc\/unlix\/author\/admin\/#author"},"publisher":{"@id":"https:\/\/skilx.cc\/unlix\/#organization"},"datePublished":"2019-05-15T08:55:44+03:00","dateModified":"2019-10-28T12:25:03+03:00","inLanguage":"ru-RU","mainEntityOfPage":{"@id":"https:\/\/skilx.cc\/unlix\/%d0%bf%d0%b8%d0%bd%d0%b3%d1%83%d0%b5%d0%bc-%d1%85%d0%be%d1%81%d1%82-%d0%b8%d0%bb%d0%b8-ip-%d0%b0%d0%b4%d1%80%d0%b5%d1%81-python\/#webpage"},"isPartOf":{"@id":"https:\/\/skilx.cc\/unlix\/%d0%bf%d0%b8%d0%bd%d0%b3%d1%83%d0%b5%d0%bc-%d1%85%d0%be%d1%81%d1%82-%d0%b8%d0%bb%d0%b8-ip-%d0%b0%d0%b4%d1%80%d0%b5%d1%81-python\/#webpage"},"articleSection":"Python, \u042f\u0437\u044b\u043a\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, host, ip, ping, python, \u0430\u0434\u0440\u0435\u0441, \u043f\u0438\u043d\u0433, \u0445\u043e\u0441\u0442"},{"@type":"BreadcrumbList","@id":"https:\/\/skilx.cc\/unlix\/%d0%bf%d0%b8%d0%bd%d0%b3%d1%83%d0%b5%d0%bc-%d1%85%d0%be%d1%81%d1%82-%d0%b8%d0%bb%d0%b8-ip-%d0%b0%d0%b4%d1%80%d0%b5%d1%81-python\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/skilx.cc\/unlix#listItem","position":1,"name":"Home","item":"https:\/\/skilx.cc\/unlix","nextItem":{"@type":"ListItem","@id":"https:\/\/skilx.cc\/unlix\/category\/%d1%8f%d0%b7%d1%8b%d0%ba%d0%b8-%d0%bf%d1%80%d0%be%d0%b3%d1%80%d0%b0%d0%bc%d0%bc%d0%b8%d1%80%d0%be%d0%b2%d0%b0%d0%bd%d0%b8%d1%8f\/#listItem","name":"\u042f\u0437\u044b\u043a\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f"}},{"@type":"ListItem","@id":"https:\/\/skilx.cc\/unlix\/category\/%d1%8f%d0%b7%d1%8b%d0%ba%d0%b8-%d0%bf%d1%80%d0%be%d0%b3%d1%80%d0%b0%d0%bc%d0%bc%d0%b8%d1%80%d0%be%d0%b2%d0%b0%d0%bd%d0%b8%d1%8f\/#listItem","position":2,"name":"\u042f\u0437\u044b\u043a\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f","item":"https:\/\/skilx.cc\/unlix\/category\/%d1%8f%d0%b7%d1%8b%d0%ba%d0%b8-%d0%bf%d1%80%d0%be%d0%b3%d1%80%d0%b0%d0%bc%d0%bc%d0%b8%d1%80%d0%be%d0%b2%d0%b0%d0%bd%d0%b8%d1%8f\/","nextItem":{"@type":"ListItem","@id":"https:\/\/skilx.cc\/unlix\/category\/%d1%8f%d0%b7%d1%8b%d0%ba%d0%b8-%d0%bf%d1%80%d0%be%d0%b3%d1%80%d0%b0%d0%bc%d0%bc%d0%b8%d1%80%d0%be%d0%b2%d0%b0%d0%bd%d0%b8%d1%8f\/python\/#listItem","name":"Python"},"previousItem":{"@type":"ListItem","@id":"https:\/\/skilx.cc\/unlix#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/skilx.cc\/unlix\/category\/%d1%8f%d0%b7%d1%8b%d0%ba%d0%b8-%d0%bf%d1%80%d0%be%d0%b3%d1%80%d0%b0%d0%bc%d0%bc%d0%b8%d1%80%d0%be%d0%b2%d0%b0%d0%bd%d0%b8%d1%8f\/python\/#listItem","position":3,"name":"Python","item":"https:\/\/skilx.cc\/unlix\/category\/%d1%8f%d0%b7%d1%8b%d0%ba%d0%b8-%d0%bf%d1%80%d0%be%d0%b3%d1%80%d0%b0%d0%bc%d0%bc%d0%b8%d1%80%d0%be%d0%b2%d0%b0%d0%bd%d0%b8%d1%8f\/python\/","nextItem":{"@type":"ListItem","@id":"https:\/\/skilx.cc\/unlix\/%d0%bf%d0%b8%d0%bd%d0%b3%d1%83%d0%b5%d0%bc-%d1%85%d0%be%d1%81%d1%82-%d0%b8%d0%bb%d0%b8-ip-%d0%b0%d0%b4%d1%80%d0%b5%d1%81-python\/#listItem","name":"\u041f\u0438\u043d\u0433\u0443\u0435\u043c \u0445\u043e\u0441\u0442 \u0438\u043b\u0438 IP \u0430\u0434\u0440\u0435\u0441 \u0441 \u043b\u044e\u0431\u043e\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b \u043d\u0430 Python"},"previousItem":{"@type":"ListItem","@id":"https:\/\/skilx.cc\/unlix\/category\/%d1%8f%d0%b7%d1%8b%d0%ba%d0%b8-%d0%bf%d1%80%d0%be%d0%b3%d1%80%d0%b0%d0%bc%d0%bc%d0%b8%d1%80%d0%be%d0%b2%d0%b0%d0%bd%d0%b8%d1%8f\/#listItem","name":"\u042f\u0437\u044b\u043a\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f"}},{"@type":"ListItem","@id":"https:\/\/skilx.cc\/unlix\/%d0%bf%d0%b8%d0%bd%d0%b3%d1%83%d0%b5%d0%bc-%d1%85%d0%be%d1%81%d1%82-%d0%b8%d0%bb%d0%b8-ip-%d0%b0%d0%b4%d1%80%d0%b5%d1%81-python\/#listItem","position":4,"name":"\u041f\u0438\u043d\u0433\u0443\u0435\u043c \u0445\u043e\u0441\u0442 \u0438\u043b\u0438 IP \u0430\u0434\u0440\u0435\u0441 \u0441 \u043b\u044e\u0431\u043e\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b \u043d\u0430 Python","previousItem":{"@type":"ListItem","@id":"https:\/\/skilx.cc\/unlix\/category\/%d1%8f%d0%b7%d1%8b%d0%ba%d0%b8-%d0%bf%d1%80%d0%be%d0%b3%d1%80%d0%b0%d0%bc%d0%bc%d0%b8%d1%80%d0%be%d0%b2%d0%b0%d0%bd%d0%b8%d1%8f\/python\/#listItem","name":"Python"}}]},{"@type":"Organization","@id":"https:\/\/skilx.cc\/unlix\/#organization","name":"UNLIX","description":"\u0437\u0430\u043c\u0435\u0442\u043a\u0438 \u043e UNIX \u0438 LINUX \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445","url":"https:\/\/skilx.cc\/unlix\/"},{"@type":"Person","@id":"https:\/\/skilx.cc\/unlix\/author\/admin\/#author","url":"https:\/\/skilx.cc\/unlix\/author\/admin\/","name":"UNLIX","image":{"@type":"ImageObject","@id":"https:\/\/skilx.cc\/unlix\/%d0%bf%d0%b8%d0%bd%d0%b3%d1%83%d0%b5%d0%bc-%d1%85%d0%be%d1%81%d1%82-%d0%b8%d0%bb%d0%b8-ip-%d0%b0%d0%b4%d1%80%d0%b5%d1%81-python\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/eb658ed897a5bd13cad2519cd095d49eb0268cd23e9c6ae956a0bdc37bfd9ae8?s=96&d=mm&r=g","width":96,"height":96,"caption":"UNLIX"}},{"@type":"WebPage","@id":"https:\/\/skilx.cc\/unlix\/%d0%bf%d0%b8%d0%bd%d0%b3%d1%83%d0%b5%d0%bc-%d1%85%d0%be%d1%81%d1%82-%d0%b8%d0%bb%d0%b8-ip-%d0%b0%d0%b4%d1%80%d0%b5%d1%81-python\/#webpage","url":"https:\/\/skilx.cc\/unlix\/%d0%bf%d0%b8%d0%bd%d0%b3%d1%83%d0%b5%d0%bc-%d1%85%d0%be%d1%81%d1%82-%d0%b8%d0%bb%d0%b8-ip-%d0%b0%d0%b4%d1%80%d0%b5%d1%81-python\/","name":"\u041f\u0438\u043d\u0433\u0443\u0435\u043c \u0445\u043e\u0441\u0442 \u0438\u043b\u0438 IP \u0430\u0434\u0440\u0435\u0441 \u0441 \u043b\u044e\u0431\u043e\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b \u043d\u0430 Python | UNLIX","description":"\u041f\u043b\u044e\u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u043e\u0433\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043e\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0430 \u043b\u044e\u0431\u043e\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435 (UNIX, Linux, MacOS, Windows) import platform # \u0414\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u043c\u044f \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b (\u041e\u0421) import subprocess # \u0414\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434 def ping(host): # \u041a\u043e\u043b-\u0432\u043e \u043f\u0430\u043a\u0435\u0442\u043e\u0432 param = '-n' if platform.system().lower()=='windows' else '-c' # \u0421\u0430\u043c\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \"ping -c 1 host\" command = ['ping', param, '1',","inLanguage":"ru-RU","isPartOf":{"@id":"https:\/\/skilx.cc\/unlix\/#website"},"breadcrumb":{"@id":"https:\/\/skilx.cc\/unlix\/%d0%bf%d0%b8%d0%bd%d0%b3%d1%83%d0%b5%d0%bc-%d1%85%d0%be%d1%81%d1%82-%d0%b8%d0%bb%d0%b8-ip-%d0%b0%d0%b4%d1%80%d0%b5%d1%81-python\/#breadcrumblist"},"author":{"@id":"https:\/\/skilx.cc\/unlix\/author\/admin\/#author"},"creator":{"@id":"https:\/\/skilx.cc\/unlix\/author\/admin\/#author"},"datePublished":"2019-05-15T08:55:44+03:00","dateModified":"2019-10-28T12:25:03+03:00"},{"@type":"WebSite","@id":"https:\/\/skilx.cc\/unlix\/#website","url":"https:\/\/skilx.cc\/unlix\/","name":"UNLIX","description":"\u0437\u0430\u043c\u0435\u0442\u043a\u0438 \u043e UNIX \u0438 LINUX \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445","inLanguage":"ru-RU","publisher":{"@id":"https:\/\/skilx.cc\/unlix\/#organization"}}]},"og:locale":"ru_RU","og:site_name":"UNLIX - \u0437\u0430\u043c\u0435\u0442\u043a\u0438 \u043e UNIX \u0438 LINUX \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445","og:type":"article","og:title":"\u041f\u0438\u043d\u0433\u0443\u0435\u043c \u0445\u043e\u0441\u0442 \u0438\u043b\u0438 IP \u0430\u0434\u0440\u0435\u0441 \u0441 \u043b\u044e\u0431\u043e\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b \u043d\u0430 Python | UNLIX","og:description":"\u041f\u043b\u044e\u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u043e\u0433\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043e\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0430 \u043b\u044e\u0431\u043e\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435 (UNIX, Linux, MacOS, Windows) import platform # \u0414\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u043c\u044f \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b (\u041e\u0421) import subprocess # \u0414\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434 def ping(host): # \u041a\u043e\u043b-\u0432\u043e \u043f\u0430\u043a\u0435\u0442\u043e\u0432 param = '-n' if platform.system().lower()=='windows' else '-c' # \u0421\u0430\u043c\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 &quot;ping -c 1 host&quot; command = ['ping', param, '1',","og:url":"https:\/\/skilx.cc\/unlix\/%d0%bf%d0%b8%d0%bd%d0%b3%d1%83%d0%b5%d0%bc-%d1%85%d0%be%d1%81%d1%82-%d0%b8%d0%bb%d0%b8-ip-%d0%b0%d0%b4%d1%80%d0%b5%d1%81-python\/","og:image":"https:\/\/unlix.ru\/wp-content\/uploads\/2018\/11\/unlix_logo.jpg","og:image:secure_url":"https:\/\/unlix.ru\/wp-content\/uploads\/2018\/11\/unlix_logo.jpg","article:published_time":"2019-05-15T05:55:44+00:00","article:modified_time":"2019-10-28T09:25:03+00:00","twitter:card":"summary","twitter:title":"\u041f\u0438\u043d\u0433\u0443\u0435\u043c \u0445\u043e\u0441\u0442 \u0438\u043b\u0438 IP \u0430\u0434\u0440\u0435\u0441 \u0441 \u043b\u044e\u0431\u043e\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b \u043d\u0430 Python | UNLIX","twitter:description":"\u041f\u043b\u044e\u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u043e\u0433\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043e\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0430 \u043b\u044e\u0431\u043e\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435 (UNIX, Linux, MacOS, Windows) import platform # \u0414\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u043c\u044f \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b (\u041e\u0421) import subprocess # \u0414\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434 def ping(host): # \u041a\u043e\u043b-\u0432\u043e \u043f\u0430\u043a\u0435\u0442\u043e\u0432 param = '-n' if platform.system().lower()=='windows' else '-c' # \u0421\u0430\u043c\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 &quot;ping -c 1 host&quot; command = ['ping', param, '1',","twitter:image":"http:\/\/unlix.ru\/wp-content\/uploads\/2018\/11\/unlix_logo.jpg"},"aioseo_meta_data":{"post_id":"785","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":"","og_description":"","og_object_type":"article","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":"","og_article_tags":"","twitter_use_og":false,"twitter_card":"summary","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2020-12-23 14:08:26","updated":"2026-06-08 18:55:54","seo_analyzer_scan_date":null},"_links":{"self":[{"href":"https:\/\/skilx.cc\/unlix\/wp-json\/wp\/v2\/posts\/785","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/skilx.cc\/unlix\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/skilx.cc\/unlix\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/skilx.cc\/unlix\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/skilx.cc\/unlix\/wp-json\/wp\/v2\/comments?post=785"}],"version-history":[{"count":0,"href":"https:\/\/skilx.cc\/unlix\/wp-json\/wp\/v2\/posts\/785\/revisions"}],"wp:attachment":[{"href":"https:\/\/skilx.cc\/unlix\/wp-json\/wp\/v2\/media?parent=785"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/skilx.cc\/unlix\/wp-json\/wp\/v2\/categories?post=785"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/skilx.cc\/unlix\/wp-json\/wp\/v2\/tags?post=785"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}