0 votes
in Python by
How can we make a Python script executable on Unix?

1 Answer

0 votes
by
In order to make a Python script executable on Unix, we need to perform two things. They are:

Script file mode must be executable and

The first line should always begin with #.

Related questions

0 votes
asked May 17, 2020 in Python by sharadyadav1986
0 votes
asked Jun 11, 2020 in Python by Robindeniel
...