Explain how can you make a Python Script executable on Unix?

Explain how can you make a Python Script executable on Unix?

Add Comment



  • 1 Answer(s)

    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)
    Platinum Answered on 16/05/2018.
    Add Comment



  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.