Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when running with Python 3 #2

Open
devlocalca opened this issue Mar 6, 2020 · 0 comments
Open

Error when running with Python 3 #2

devlocalca opened this issue Mar 6, 2020 · 0 comments

Comments

@devlocalca
Copy link

I am running this like so (Using Python3):
python knowledge-panel-scraper.py inputfile.csv

And I get:

Traceback (most recent call last):
  File "knowledge-panel-scraper.py", line 86, in <module>
    with open(sys.argv[1], newline='') as csvfile:
TypeError: 'newline' is an invalid keyword argument for this function

any ideas?

I need to get this working as soon as possibly, any prompt help would be greatly appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant