5 ответов
+ 4
Make a new file :
In the first line, add location of Python.
It's like :
#!file/folder/python/python3
#write your python script then. Save and close.
After saving the file,
$ chmod +x filename
$ ./filename
It must work 😸
+ 3
Not only Python, any file can be executed with these steps 😸
+ 2
thanks a lot
+ 1
ok
+ 1
thanks