Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Not able to read the text using pexpect/expect
Post: RE: Not able to read the text using pexpect/expect

Hi ibreeden Thanks a lot for that suggestion, it worked by shortening the expected string. Note: it was not the timeout , i have already tried increasing the timeout. Regards Johnson
Bipinjohnson General Coding Help 7 4,071 Jan-10-2022, 11:21 AM
    Thread: Not able to read the text using pexpect/expect
Post: RE: Not able to read the text using pexpect/expect

Hi Ibreeden, I tried your suggestion, but looks like its again getting timed out pasted below is my code and its error message. import pexpect child = pexpect.spawn ('./test_app -g', encoding='utf-8'...
Bipinjohnson General Coding Help 7 4,071 Jan-07-2022, 06:34 PM
    Thread: Not able to read the text using pexpect/expect
Post: RE: Not able to read the text using pexpect/expect

Hi Larz60+, Sorry for my oversight, i will take care of your suggestions hereafter. Regards Johnson
Bipinjohnson General Coding Help 7 4,071 Jan-07-2022, 06:09 PM
    Thread: Not able to read the text using pexpect/expect
Post: RE: Not able to read the text using pexpect/expect

Hi Tim/lucasbazan, Thank you for your response. I tried your suggestion but its not working for me. I gone through the documentation and try adding few more arguments to the code, but still no luck. P...
Bipinjohnson General Coding Help 7 4,071 Jan-07-2022, 06:05 PM
    Thread: Not able to read the text using pexpect/expect
Post: Not able to read the text using pexpect/expect

Hi, I am new to python i am trying some automation where in i want to call a terminal application from python and control the same. I have tried Pexpect where i am able to open the application, but no...
Bipinjohnson General Coding Help 7 4,071 Jan-06-2022, 04:42 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020