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


Groups > comp.lang.python > #50143

Re: capture html screen with pexpect

From Dave Angel <davea@davea.name>
Subject Re: capture html screen with pexpect
Date 2013-07-08 07:17 -0400
References <9118058.sBVIZWDW2o@mach-114-20>
Newsgroups comp.lang.python
Message-ID <mailman.4381.1373282277.3114.python-list@python.org> (permalink)

Show all headers | View raw


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@think2:~$ wget google.com

creates a file called index.html in my cwd


-- 
DaveA

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


Thread

Re: capture html screen with pexpect Dave Angel <davea@davea.name> - 2013-07-08 07:17 -0400

csiph-web