html page mail link to webmail program

Chris Angelico rosuav at gmail.com
Wed Nov 12 03:28:24 CET 2014


On Wed, Nov 12, 2014 at 12:42 PM, Ben Finney <ben+python at benfinney.id.au> wrote:
> Ethan Furman <ethan at stoneleaf.us> writes:
>
>> Okay, the explicit Python question: Clicking on a mail link in a web
>> browser can start an external program. I would like that external
>> program to be a Python script that [controls an already-running web
>> browser to visit a URL and operate a web application].
>>
>> Surely this can be done in Python.
>
> Perhaps. I'd advise a web search for “python script web browser”, and be
> prepared for also learning how your specific operating system allows
> programs to control each other in separate processes.

Or just look at antigravity.py in the standard library, which has a
way of invoking a web browser - probably something trivially easy,
like calling on the webbrowser module, but it's more fun to look it up
via the arcane.

ChrisA



More information about the Python-list mailing list