17.04.2014 Views

slides

slides

slides

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Python Path<br />

1 #!/usr/bin/python<br />

• The first line of the program is called a hash bang (#!)<br />

• it is used to tell the shell where to look for the interpreter for the<br />

current script (in this case python)<br />

• On most systems python lives in the /usr/bin/python directory so<br />

we use put this as the first line of the python script<br />

Saturday, 23 October 2010

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!