No products in the cart.

How do we make python scripts …

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

How do we make python scripts executable
  • 1 answers

Indu Devi 4 years, 5 months ago

Add a shebang line to the top of the script: #!/usr/bin/env python. Mark the script as executable: chmod +x myscript.py. Add the dir containing it to your PATH variable. (If you want it to stick, you'll have to do this in . bashrc or . bash_profile in your home dir.) export PATH=/path/to/script:$PATH.
http://mycbseguide.com/examin8/

Related Questions

5 uses of mouse
  • 0 answers
What do you mean by computer
  • 0 answers
Give two feature of internet
  • 0 answers
Types of e-commerce fraud
  • 0 answers

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App