Hey,
I'm having some difficulty in getting bencode working:
import bencode
bencode.encode({'title': 'Example'})
# ---------------------------------------------------------------------------
# AttributeError Traceback (most recent call last)
# <ipython-input-17-f26380d80be9> in <module>()
# 3 import bencode
# 4
# ----> 5 bencode.encode({'title': 'Example'})
# AttributeError: 'module' object has no attribute 'encode'
I would really appreciate a pointer in where I'm going wrong.
Btw, I'm using Python 2.7.10.