-1

I have a Perl script that prompts for "Enter" input from user. I need to run this perl script thru Python. How can I show that prompt message to user or catch the prompt and send inputs values to Perl thru Python?

1

1 Answer 1

-1

It seems that you want to use input native python function.

x = input('Please input your input') # this will prompt the user to type

Now you can use the input for your perl script. This only answers part of your question , as this is just capturing the prompt and sending it to perl.

You can also execute perl script in python: You can find more answers here : Call Perl script from Python

Sign up to request clarification or add additional context in comments.

2 Comments

Please do not post an answer that consists essentially of a link. Include the important points in your answer; leave the link for extra information or as a reference.
that I know. How do I know in Python if Perl is asking for input?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.