I have a large text file that i want to be uri argument encoded. I researched a bit and came up with this:
import urllib
f=open('text.txt','r').read()
n= open('encodeTest.txt','w')
new=urllib.quote_plus(f)
n.write(new)
I get this error whenever I run it:
AttributeError: 'module' object has no attribute 'quote_plus'