> On 28. Nov 2019, at 12:05, Ulrich Goebel wrote:
>
> Hi,
>
> I have to call commands from inside a python skript. These commands are in
> fact other python scripts. So I made
>
>os.system('\.Test.py')
>
> That works.
>
> Now I tried to use
>
>supprocess.call(['.\', 'test.py'])
[
Ulrich Goebel writes:
> Hi,
>
> I have to call commands from inside a python skript. These commands are
> in fact other python scripts. So I made
>
> os.system('\.Test.py')
>
> That works.
In a string \. is the same as . So this should execute the command '.Test.py'.
Is that really what you
Sorry for the wrong spelling. In fact
subprocess.call('./Test.py')
works.
The raising error was my error too, using ['./', 'Test.py'] instead of
'./Test.py'
Sorry...
Am 28.11.19 um 11:05 schrieb Ulrich Goebel:
Hi,
I have to call commands from inside a python skript. These commands are
Ulrich Goebel wrote:
> Hi,
>
> I have to call commands from inside a python skript. These commands are
> in fact other python scripts. So I made
>
> os.system('\.Test.py')
>
> That works.
>
> Now I tried to use
>
> supprocess.call(['.\', 'test.py'])
Remember to use cut and paste fo
Hi,
I have to call commands from inside a python skript. These commands are
in fact other python scripts. So I made
os.system('\.Test.py')
That works.
Now I tried to use
supprocess.call(['.\', 'test.py'])
That doesn't work but ends in an error:
Traceback (most recent call last):