Login
Remember
Register
Ask a Question
Explain how can you make a Python Script executable on Unix?
0
votes
asked
Jan 1, 2021
in
Python
by
SakshiSharma
Explain how can you make a Python Script executable on Unix?
#python-script
Python-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jan 1, 2021
by
SakshiSharma
To make a Python Script executable on Unix, you need to do two things,
Script file's mode must be executable and
the first line must begin with # ( #!/usr/local/bin/python)
...