station name invalid syntax
Closed this issue · 2 comments
Hi Karl,
I try to understand the problem but I'm a newbie with python....
Followed all the indication, update the requirements.
Tested on mac and with linux, same problem.
Running the code I receive this error:
File "weather_scraper.py", line 45
file_name = f'{station_name}.csv'
^
SyntaxError: invalid syntax
I've also manually created the empty file, changed the code with a pre-choosed file name.
No way to solve
many thanks for your support
Hi, thanks for the feedback. I will make sure to add to the documentation that this has only been tested on Windows. Feel free to send a pull request for a Linux adaptation. BTW make sure you are using python 3.9.1
Good news....
Updating my Python app in MacOsx now the code work !
I've just some
list index out of range! probably caused by an empty row in the data
but the csv file is created.
I'll check contents and data.
Many thanks, fast and solved !!