Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #80587

Re: html page mail link to webmail program

References <5462B203.7070201@stoneleaf.us> <85y4rh5iol.fsf@benfinney.id.au> <5462B94F.4070809@stoneleaf.us> <85ppct5h5c.fsf@benfinney.id.au>
Date 2014-11-12 13:28 +1100
Subject Re: html page mail link to webmail program
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.15710.1415759312.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Wed, Nov 12, 2014 at 12:42 PM, Ben Finney <ben+python@benfinney.id.au> wrote:
> Ethan Furman <ethan@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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: html page mail link to webmail program Chris Angelico <rosuav@gmail.com> - 2014-11-12 13:28 +1100

csiph-web