0 votes
in Python by
Explain how can you make a Python Script executable on Unix?

1 Answer

0 votes
by
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)

Related questions

0 votes
asked May 17, 2020 in Python by sharadyadav1986
0 votes
asked May 24, 2020 in Python by SakshiSharma
...