capture html screen with pexpect
Dave Angel
davea at davea.name
Mon Jul 8 07:17:38 EDT 2013
On 07/07/2013 01:06 PM, inq1ltd wrote:
> python help,
>
> I can log into a web site with pexpect but
> what I want to do is pipe the opening window
> to a file.
>
> Logging into the site opens the site window
> but I can't get the window to a file.
>
> I can't use screen capture I need to get
> pexpect to pipe it to a txt file.
>
What have you tried? What environment are you in? What's the exact
assignment?
I'd use wget, since I'm on Linux, and it's simple.
davea at think2:~$ wget google.com
creates a file called index.html in my cwd
--
DaveA
More information about the Python-list
mailing list