You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python 3.5.2 (default, Sep 10 2016, 08:21:44)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pullword
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.5/dist-packages/pullword/__init__.py", line 3, in <module>
from pullword import pullword
File "/usr/local/lib/python3.5/dist-packages/pullword/pullword.py", line 25
print pw.url
^
SyntaxError: Missing parentheses in call to 'print'
>>> quit()
then fix the import bug, then i find i cannot use the the method:
lyz@~$ python3
Python 3.5.2 (default, Sep 10 2016, 08:21:44)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from pullword import pullword
>>> word_list = pullword(u"华中科技大学", threshold=0.7)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: 'module' object is not callable
>>> word_list = pullword("华中科技大学", threshold=0.7)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: 'module' object is not callable
The text was updated successfully, but these errors were encountered:
when use in py3 there is a import error.
then fix the import bug, then i find i cannot use the the method:
The text was updated successfully, but these errors were encountered: