Subj : Error message To : Wilfred van Velzen From : Charles Pierson Date : Fri Feb 05 2021 21:57:12 On 05 Feb 2021, Wilfred van Velzen said the following... Wv> CP> python scraping.py Wv> CP> File "scraping.py", line 5 Wv> CP> def Wv> CP> hackernews_rss('https://news.ycombinator.com/rss'): Wv> CP> ^ Wv> CP> SyntaxError: invalid Wv> CP> syntax Wv> Wv> Wv> Wv> CP> The code is: Wv> Wv> CP> # scraping function Wv> CP> def hackernews_rss('https://news.ycombinator.com/rss'): Wv> Wv> There should be a variable there between the (), not a constant in this Wv> function definition. Ah, so my source is wrong. Wv> CP> try: Wv> CP> r = requests.get() Wv> Wv> Is 'requests' defined of set somewhere? I don't see it. I'm going through the steps as they were laid out. I was hoping that going through the steps of sonething that says it works would help me pick it up better.Apparently this was a poor choice. --- Mystic BBS v1.12 A46 2020/08/26 (Raspberry Pi/32) * Origin: theoasisbbs.ddns.net:1357 .