always_coys has asked for the wisdom of the Perl Monks concerning the following question:
I end up getting up the following error:import subprocess, sys perl = "C:\\Perl64\\bin\\perl.exe" perl_script "C:\\vub_work\\py_learn\\hello.pl" pl_script = subprocess.Popen([perl, perl_script], stdout=sys.stdout) pl_script.communicate()
It would be great if you could help.File "<ipython-input-5-d6c6696cc648>", line 4 perl_script "C:\\vub_work\\py_learn\\hello.pl" ^ SyntaxError: invalid syntax
Node original content restored and reformatted by erzuuli
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (OT) Help with running a Perl script from Python
by Corion (Patriarch) on Dec 06, 2020 at 09:37 UTC | |
by always_coys (Novice) on Dec 06, 2020 at 09:47 UTC | |
by AnomalousMonk (Archbishop) on Dec 06, 2020 at 10:03 UTC | |
|
Re: (OT) Help with running a Perl script from Python
by LanX (Saint) on Dec 06, 2020 at 09:54 UTC | |
by always_coys (Novice) on Dec 06, 2020 at 10:00 UTC | |
by AnomalousMonk (Archbishop) on Dec 06, 2020 at 10:09 UTC | |
|
Re: (OT) Help with running a Perl script from Python
by perlfan (Parson) on Dec 07, 2020 at 20:08 UTC |