We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b11ace8 + 8490100 commit 7c92956Copy full SHA for 7c92956
check_internet_con.py
@@ -2,6 +2,7 @@
2
3
try:
4
urllib2.urlopen("http://google.com", timeout=2)
5
- print "working connection"
+ print ("working connection")
6
+
7
except urllib2.URLError:
- print "No internet connection"
8
+ print ("No internet connection")
0 commit comments