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

snspy代码中有几个错误 #39

Open
dhcn opened this issue Nov 27, 2013 · 3 comments
Open

snspy代码中有几个错误 #39

dhcn opened this issue Nov 27, 2013 · 3 comments

Comments

@dhcn
Copy link

dhcn commented Nov 27, 2013

其中和weibo.py相同的报错是mimetypes.types_map 是can't resolve import,这个错误只是编译错误,能够正常执行,其它的错误都是引用了未存在的变量,我做了修正,等会pull给你,你审一下。

@smallcode
Copy link
Contributor

如果http部分直接使用外部库,如requests会更方便。https://github.com/kennethreitz/requests

@dhcn
Copy link
Author

dhcn commented Nov 27, 2013

探讨一个问题:APIClient做成单例可行否?

@smallcode
Copy link
Contributor

你是指Singleton吗?可以,不过感觉意义不大。

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