Thread: eMonitor
View Single Post
Old 03-14-2013, 05:01 AM   #71
FredF
Junior Member
FredF can extract oil from cheeseFredF can extract oil from cheeseFredF can extract oil from cheeseFredF can extract oil from cheeseFredF can extract oil from cheeseFredF can extract oil from cheeseFredF can extract oil from cheeseFredF can extract oil from cheese
 
Posts: 5
Karma: 1000
Join Date: Mar 2013
Device: Kindle 4
Question

Hi,
New here and to python.
I know this is probably a stupid question, but does the e-monitor use internet allowances. I was under the impression that it only uses my Wi-Fi connection, not my actual internet connection, but I did see a line of code
Code:
#Amazon's website is used here for its reliablity. Feel free to change it.
  s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
  s.connect(("amazon.com",80))
What does this code do, and does it actually use/require an internet connection.
You are doing a great job.
FredF
FredF is offline   Reply With Quote