Notice
Recent Posts
Recent Comments
Link
아미(아름다운미소)
python 파이썬 인터넷 - 네트워크 연결 확인 본문
python 파이썬 인터넷 - 네트워크 연결 확인하는 방법
#-*- coding: utf-8 -*- ''' Created on 2019. 01. 25. @author: bhm ''' import socket ipaddress=socket.gethostbyname(socket.gethostname()) if ipaddress=="127.0.0.1": print("You are not connected to the internet!") else: print("You are connected to the internet with the IP address of "+ ipaddress )
'랭귀지 > PYTHON' 카테고리의 다른 글
Python Jupyter Notebook 설치하기 (0) | 2019.01.28 |
---|---|
주피터 노트북(jupyter notebook) 단축키 (0) | 2019.01.27 |
Python 문자열 자르기 및 합치기, Split(), join() (0) | 2019.01.25 |
python pandas 데이터를 excel 파일생성시 한글깨짐문제 해결 (0) | 2019.01.14 |
The Eclipse executable launcher was unable to locate its companion shared library (0) | 2019.01.09 |
2 Comments