-
Notifications
You must be signed in to change notification settings - Fork 2
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
跑出這個東西 #9
Comments
@s4028600 因为你用的Python3,目前的脚本看起来是基于Python2.7的,和Python3不兼容 |
我是用這裡的PY檔案 如果用python DMHY_DataBase.py 對檔案點右鍵用Edit with IDLE ==================== RESTART: D:\python\DMHY_DataBase.py ==================== 完全不知道怎麼辦…… |
@fno2010 |
@s4028600 |
不好意思我用3python3.8跟2.7都會出現 |
@nephidog 应该只有Python3会报这个错,因为脚本用的python2的语法,只能用python2跑(其实应该是懒得更新了 话说这个项目还在维护吗?仅供学习参考,别对功能有太多期待。。。 |
在CMD中輸入python 會跑出 所以應該是2.7沒錯然後我開啟後會出現22行錯誤 |
後來發現是有些插件沒裝,淡妝完插件後會跑編碼問題 |
interesting... code第11行和你的报错也对不上啊,你改code了吗? |
可以了,我WIN10到語言跟時區那邊改成UTF-8之後用CMD打開DMHY_DataBase.py就沒抱錯了,謝謝你~ |
@fno2010 hhhh好久没有维护了 |
@VijayQin dmhy已经有自己的app了,并且应该不用爬网页,可以直接读数据库,效率应该更高 |
File "DMHY_DataBase.py", line 45
print "type:", type
^
SyntaxError: Missing parentheses in call to 'print'
雖然我也不清楚前面的操作對不對
The text was updated successfully, but these errors were encountered: