tags:

views:

20

answers:

1

I read help here http://twill.idyll.org/browsing.html, then i open python and write

export http_proxy="http://www.someproxy.com:3128"

but i just receive an error. How can i use proxy with twill to browser web ?

+1  A: 

the export command is something you need to type on your shell (assuming unix/linux). It's not a python statement!

Ivo van der Wijk
I receive this "Line 1 export http_proxy="http://www.someproxy.com:3128" ^ SyntaxError: invalid syntax" Does any way for me to use it ?
what I said: It's a shell command, not a python command. Type it before you start python or your program
Ivo van der Wijk
I understood what you say, but i don't know how to run it. I open cmd and type "export http_proxy='http://www.someproxy.com:3128' " but i receive error too.( 'export' is not recognized as an internal or external command ). Where can I put this command ?
under windows you will need SET http_proxy="http://www.someproxy.com:3128"
Ivo van der Wijk