Subj : Re: Error message To : Charles Pierson From : Wilfred van Velzen Date : Sat Feb 06 2021 12:13:48 Hi Charles, On 2021-02-05 21:57:12, you wrote to me: 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 Wv>> this function definition. CP> Ah, so my source is wrong. I don't know your source, so I can't comment on that. ;-) Bye, Wilfred. --- FMail-lnx64 2.1.0.18-B20170815 * Origin: FMail development HQ (2:280/464) .