Record your races with a typeracer account:
Create Your Account- Save your race history and scores.
- Customize your profile and racecar.
- It’s free, why not?
Race Result Details |
Racer | Arya (ariaw100) |
Race Number | 6 |
Date | Mon, 25 Mar 2024 05:45:59 +0000 |
Universe | code |
Speed |
41 WPM
![]() |
Accuracy | 94.2% |
Rank | 2nd place (out of 20) |
Opponents | danuuuuu (1st place) dave999 (3rd place) enjelav (7th place) fake_aaron (4th place) krisna_58 (6th place) manikdharma (5th place) |
Text typed:
|
class URLLister(SGMLParser): def reset(self): SGMLParser.reset(self) self.urls = [] def start_a(self, attrs): href = [v for k, v in attrs if k=='href'] if href: self.urls.extend(href)
— Dive Into Python
|