Race Updates Discord About Merch
Home Profile History Competitions Texts Upgrade

typeracer

Pit Stop
Racer Sourish (sourish1997)
Race Number 20
Date Sun, 24 Mar 2024 1:16:40
Universe code
Speed 44 WPM Try to beat?
Accuracy 94.9%
Rank 1st place (out of 3)

Text typed:

import re import sys import urllib2 import BeautifulSoup usage = "Run the script: ./geolocate.py IPAddress" if len(sys.argv)!=2: print(usage) sys.exit(0) if len(sys.argv) > 1: ipaddr = sys.argv[1] geody = "http://www.geody.com/geoip.php?ip=" + ipaddr html_page = urllib2.urlopen(geody).read() soup = BeautifulSoup.BeautifulSoup(html_page)
— (other) by www.pythonforbeginners.com/ (see stats)

Typing Review:

Race text:
import re import sys import urllib2 import BeautifulSoup usage = "Run the script: ./geolocate.py IPAddress" if len(sys.argv)!=2: print(usage) sys.exit(0) if len(sys.argv) > 1: ipaddr = sys.argv[1] geody = "http://www.geody.com/geoip.php?ip=" + ipaddr html_page = urllib2.urlopen(geody).read() soup = BeautifulSoup.BeautifulSoup(html_page)
Time:
0:00
Speed:
Accuracy:
Typing replay:
Analysis:
Mistakes:
  1. BeautifulSoup
  2. ./geolocate.py
  3. IPAddress"
  4. len(sys.argv)!=2:
  5. sys.argv[1]
  6. =
  7. "http://www.geody.com/geoip.php?ip="
  8. html_page
  9. urllib2.urlopen(geody).read()
  10. BeautifulSoup.BeautifulSoup(html_page)