Notice
Recent Posts
Recent Comments
Link
목록인터넷 (1)
아미(아름다운미소)
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
2019. 1. 26. 10:00