On Fri, Apr 20, 2012 at 11:09 PM, Dave Angel wrote:
> You forgot to include the list in your response. I don't normally
> respond to private messages, but I'll make an exception.
Sorry about that and thanks.
>> On 04/20/2012 06:47 PM, Diego Manenti Martins wrote:
>>
On Fri, Apr 20, 2012 at 10:08 PM, Dave Angel wrote:
> On 04/20/2012 06:47 PM, Diego Manenti Martins wrote:
>> Hi.
>> Anybody knows the data is sent in a different way for Python 2.5, 2.6
>> and 2.7 using this code:
>>
>>>>> import urllib2
>>&g
Hi.
Anybody knows the data is sent in a different way for Python 2.5, 2.6
and 2.7 using this code:
>>> import urllib2
>>> url = 'http://server.com/post_image?tid=zoV6LJ'
>>> f = open('test.jpg')
>>> data = f.read()
>>> res = urllib2.urlopen(url, data)
It works the same way for python2.5 and pytho