hupili / snsapi

Cross platform middleware for Social Networking Services: Twitter, Facebook, SinaWeibo, Renren, RSS, Email, Sqlite, ... (more coming)
http://snsapi.ie.cuhk.edu.hk
159 stars 53 forks source link

/usr/bin/env: python -i: No such file or directory #98

Closed iptux closed 10 years ago

iptux commented 10 years ago
$ ./snscli.py 
/usr/bin/env: python -i: No such file or directory
$ 

python -i snscli.py is OK

see wikipedia about #!

hupili commented 10 years ago

Thanks, I also noted the problem on some systems.

@fqj1994 , how about this modification?

Which one is more generally applicable? python or /usr/bin/env python?

Besides, is there any way to drop into the interactive shell using Python code? If that's possible, we don't have to add -i there.