Post
Python
How to call Perl script from python?
I have a Perl script which I wan to request from a python script. Here is my code
var = "/your/file/path/"
pipe = subprocess.Popen(["./uireplace.pl", var], stdin=subprocess.PIPE) pipe.stdin.write(var)
pipe.stdin.close()
Posted on 24th April 2024
var = "/any/file/path/"
pipe = subprocess.Popen(["perl", "uireplace.pl", var])
STILL GOT QUERIES?