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


Groups > comp.lang.python > #52052

pexpect, loading an entry field

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <SRS0=CZOzDa=RT=inqvista.com=inq1ltd@eigbox.net>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.162
X-Spam-Level *
X-Spam-Evidence '*H*': 0.68; '*S*': 0.00; 'suggestions.': 0.09; 'python': 0.11; 'help;': 0.16; 'send,': 0.16; 'header:User- Agent:1': 0.23; 'header:In-Reply-To:1': 0.27; 'tried': 0.27; 'appear': 0.29; 'initiate': 0.31; 'received:10.20.15': 0.31; 'received:10.20.18': 0.31; 'received:10.20.55': 0.31; 'received:eigbox.net': 0.31; 'open': 0.33; 'received:10.20': 0.33; 'received:66': 0.35; 'but': 0.35; 'url:rec-html40': 0.35; 'entry': 0.36; 'charset:us-ascii': 0.36; 'url:org': 0.36; 'received:10': 0.37; 'window': 0.38; 'to:addr:python-list': 0.38; 'received:71': 0.39; 'to:addr:python.org': 0.39; 'how': 0.40; 'tell': 0.60; 'field.': 0.61; 'field': 0.63; 'url:dtd': 0.80; 'opens': 0.91; 'url:strict': 0.95
X-Authority-Analysis v=2.0 cv=bNyU0YCZ c=1 sm=1 a=o8gOQ7k3iqKMxWj2CRC4ZQ==:17 a=spKFjZujUncA:10 a=2Cs5qbXtQ68A:10 a=ifSxCEJl05wA:10 a=OmMKortqy18A:10 a=tTExfe6FAAAA:8 a=ouymaS2W17oA:10 a=0T53iQHep2C_lg9hgY4A:9 a=CjuIK1q_8ugA:10 a=VxPi116V1ucA:10 a=mNOduplRwdAA:10 a=SSmOFEACAAAA:8 a=sIEPl5yjHj8bIddWHBYA:9 a=_W_S_7VecoQA:10 a=frz4AuCg-hUA:10 a=1Uq9AeEVdvxpCzxd:21 a=anyYG9rjTBM1sAjEBQ8Cew==:117
X-EN-OrigOutIP 10.20.18.11
X-EN-IMPSID 9SuL1m00E0EKspE01SuLJB
From inq1ltd <inq1ltd@inqvista.com>
To python-list@python.org
Subject pexpect, loading an entry field
Date Tue, 06 Aug 2013 11:05:18 -0400
Organization inqvista
User-Agent KMail/4.7.2 (Linux/2.6.37.6-24-desktop; KDE/4.7.2; i686; ; )
In-Reply-To <CAPTjJmpEPj=e9fkgpTuEW1PWq7yE+7Rg-VENSOeLGc=teZReRw@mail.gmail.com>
References <ktqeho$f5i$1@news.albasani.net> <520100F9.4010805@gmail.com> <CAPTjJmpEPj=e9fkgpTuEW1PWq7yE+7Rg-VENSOeLGc=teZReRw@mail.gmail.com>
MIME-Version 1.0
Content-Type multipart/alternative; boundary="nextPart125092068.GMMRnlzj5F"
Content-Transfer-Encoding 7Bit
X-EN-UserInfo ea107384e720a598200e9790e8ca8002:9d89a6cbd5a73a41b134431a25286195
X-EN-AuthUser inq1ltd@inqvista.com
Sender inq1ltd <inq1ltd@inqvista.com>
X-EN-OrigIP 71.246.148.98
X-EN-OrigHost pool-71-246-148-98.rich.east.verizon.net
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.261.1375803546.1251.python-list@python.org> (permalink)
Lines 51
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1375803546 news.xs4all.nl 15942 [2001:888:2000:d::a6]:60296
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:52052

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

python help;

I am using pexpect to open my program.
Can someone tell me how to get data to appear in 
an entry field.

After pexpect opens the my program I have tried to use 
send, sendline, and write functions to try to put data into 
the program's entry field.

However, the data is going to the terminal window, 
the window that is used to initiate the call to pexpect 
but not to the entry field in the open program.

I would appreciate suggestions.
jol

 

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


Thread

Class hierarchy problem BrJohan <brjohan@gmail.com> - 2013-08-06 11:10 +0200
  Re: Class hierarchy problem Chris Angelico <rosuav@gmail.com> - 2013-08-06 10:30 +0100
    Re: Class hierarchy problem Chris Angelico <rosuav@gmail.com> - 2013-08-06 15:02 +0100
      Re: Class hierarchy problem BrJohan <brjohan@gmail.com> - 2013-08-06 17:36 +0200
        Re: Class hierarchy problem Joe Junior <joe.fbs.junior@gmail.com> - 2013-08-06 13:23 -0300
        Re: Class hierarchy problem Jordi Riera <kender.jr@gmail.com> - 2013-08-06 18:13 +0200
        Re: Class hierarchy problem Chris Angelico <rosuav@gmail.com> - 2013-08-06 18:12 +0100
        Re: Class hierarchy problem Terry Reedy <tjreedy@udel.edu> - 2013-08-06 19:13 -0400
        Re: Class hierarchy problem Ben Finney <ben+python@benfinney.id.au> - 2013-08-07 11:58 +1000
  Re: Class hierarchy problem Peter Otten <__peter__@web.de> - 2013-08-06 11:34 +0200
  Re: Class hierarchy problem Steven D'Aprano <steve@pearwood.info> - 2013-08-06 09:36 +0000
  pexpect,  loading an entry field inq1ltd <inq1ltd@inqvista.com> - 2013-08-06 11:05 -0400
  Re: pexpect, loading an entry field "Lakshmipathi.G" <lakshmipathi.g@gmail.com> - 2013-08-06 22:04 +0530
  Re: pexpect, loading an entry field inq1ltd <inq1ltd@inqvista.com> - 2013-08-06 14:03 -0400
  Re: pexpect, loading an entry field "Lakshmipathi.G" <lakshmipathi.g@gmail.com> - 2013-08-07 13:40 +0530

csiph-web