{"action":"created","issue":{"url":"https://api.github.com/repos/shivam5992/textstat/issues/11","repository_url":"https://api.github.com/repos/shivam5992/textstat","labels_url":"https://api.github.com/repos/shivam5992/textstat/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/shivam5992/textstat/issues/11/comments","events_url":"https://api.github.com/repos/shivam5992/textstat/issues/11/events","html_url":"https://github.com/shivam5992/textstat/issues/11","id":141366994,"number":11,"title":"Keeps saying sentence count is zero...","user":{"login":"joshash","id":16705446,"avatar_url":"https://avatars.githubusercontent.com/u/16705446?v=3","gravatar_id":"","url":"https://api.github.com/users/joshash","html_url":"https://github.com/joshash","followers_url":"https://api.github.com/users/joshash/followers","following_url":"https://api.github.com/users/joshash/following{/other_user}","gists_url":"https://api.github.com/users/joshash/gists{/gist_id}","starred_url":"https://api.github.com/users/joshash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshash/subscriptions","organizations_url":"https://api.github.com/users/joshash/orgs","repos_url":"https://api.github.com/users/joshash/repos","events_url":"https://api.github.com/users/joshash/events{/privacy}","received_events_url":"https://api.github.com/users/joshash/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-16T18:49:15Z","updated_at":"2016-04-06T19:27:44Z","closed_at":null,"body":"My code is the following:\r\n\r\n```\r\nfrom textstat.textstat import textstat\r\nif __name__ == '__main__':\r\n\ttest_data = \"This is a sentence. I would like to analyze it. I want to know its stats.\"\r\n\r\n\tprint(textstat.flesch_reading_ease(test_data))\r\n\tprint(textstat.smog_index(test_data))\r\n\tprint(textstat.automated_readability_index(test_data))\r\n\tprint(textstat.dale_chall_readability_score(test_data))\r\n\tprint(textstat.difficult_words(test_data))\r\n\tprint(textstat.linsear_write_formula(test_data))\r\n\tprint(textstat.gunning_fog(test_data))\r\n\tprint(textstat.text_standard(test_data))\r\n```\r\n\r\nAnd I keep getting this error:\r\n```\r\nTraceback (most recent call last):\r\n  File \"/Users/ashkij/Documents/Programming/Python Stuff/Preten.py\", line 1, in <module>\r\n    from textstat.textstat import textstat\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/textstat/textstat.py\", line 82\r\n    print \"Error(ASL): Sentence Count is Zero, Cannot Divide\"\r\n                                                            ^\r\nSyntaxError: invalid syntax\r\n```"},"comment":{"url":"https://api.github.com/repos/shivam5992/textstat/issues/comments/206523446","html_url":"https://github.com/shivam5992/textstat/issues/11#issuecomment-206523446","issue_url":"https://api.github.com/repos/shivam5992/textstat/issues/11","id":206523446,"user":{"login":"stuboo","id":323673,"avatar_url":"https://avatars.githubusercontent.com/u/323673?v=3","gravatar_id":"","url":"https://api.github.com/users/stuboo","html_url":"https://github.com/stuboo","followers_url":"https://api.github.com/users/stuboo/followers","following_url":"https://api.github.com/users/stuboo/following{/other_user}","gists_url":"https://api.github.com/users/stuboo/gists{/gist_id}","starred_url":"https://api.github.com/users/stuboo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stuboo/subscriptions","organizations_url":"https://api.github.com/users/stuboo/orgs","repos_url":"https://api.github.com/users/stuboo/repos","events_url":"https://api.github.com/users/stuboo/events{/privacy}","received_events_url":"https://api.github.com/users/stuboo/received_events","type":"User","site_admin":false},"created_at":"2016-04-06T19:27:44Z","updated_at":"2016-04-06T19:27:44Z","body":"This custom exception is replacing the normal error you would encounter in python 3.5:\r\n`SyntaxError: Missing parentheses in call to 'print'`\r\n\r\nTo fix it, open textstat.py and put parenthesis around all of the print statements.\r\n\r\nSo, on line 85 you'll change `print \"Error(ASL): Sentence Count is Zero, Cannot Divide\"` to `print(\"Error(ASL): Sentence Count is Zero, Cannot Divide\")`\r\n\r\nMore info: [http://stackoverflow.com/questions/25445439/what-does-syntaxerror-missing-parentheses-in-call-to-print-mean-in-python](url)"}}