Python Developer Question:
Download Job Interview Questions and Answers PDF
How to you make a Python Script executable on Unix?
![Python Developer Interview Answer Python Developer Interview Question](https://globalguideline.com/public/images/interview/21.png)
Answer:
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)
☛ Script file’s mode must be executable and
☛ the first line must begin with # ( #!/usr/local/bin/python)
Download Python Developer Interview Questions And Answers
PDF
Previous Question | Next Question |
Do you know in Python what are iterators? | Tell me what is the difference between Django, Pyramid, and Flask? |