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 running simple example. Help please. #26

Closed
rjalexa opened this issue Dec 13, 2018 · 2 comments
Closed

Error running simple example. Help please. #26

rjalexa opened this issue Dec 13, 2018 · 2 comments

Comments

@rjalexa
Copy link

rjalexa commented Dec 13, 2018

import play_scraper
print play_scraper.details('com.android.chrome')
File "<ipython-input-8-60b6c1359646>", line 2
    print play_scraper.details('com.android.chrome')
                     ^
SyntaxError: invalid syntax

Running on Mac OS with python:
3.6.5 |Anaconda, Inc.| (default, Apr 26 2018, 08:42:37)
[GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)]

@danieliu
Copy link
Owner

danieliu commented Dec 15, 2018

Looks like you're running Python 3, where print is a function.
You'll need to do print(play_scraper.details('com.android.chrome')).

I'll update the readme and examples to be Python version agnostic.

Let me know if you run into any more issues!

@rjalexa
Copy link
Author

rjalexa commented Dec 15, 2018

Thank you very very much!

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

2 participants