Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
Tags
- PER
- 함수
- 라즈베리파이
- MySQL
- port
- IOS
- PyQt5
- swift
- 유니티
- tensorflow
- 리눅스
- Linux
- flutter
- 맛집
- python
- GIT
- ASP
- ubuntu
- node.js
- MS-SQL
- Excel
- Unity
- sqlite
- PyQt
- pandas
- javascript
- 날짜
- urllib
- mssql
- 다이어트
Archives
아미(아름다운미소)
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 |
Comments