Executing python script in linux

Hi,

I was trying to run a python script using shell command.


Dim sh As New Shell
sh.Execute("/usr/bin/python3 " + "update_test.py")

it doesnt work, but if I do execute on terminal its works fine.
the python script located in app folder, and even I put full path also not working.

please help.

thanks
arief

Linuxmint 20.4

Please pass full path for the file.
Or first change into that directory.

2 Likes