[Tutor] Invoking Python
muchanek at gmail.com
Thu Jun 26 15:37:01 CEST 2008
On Thu, 2008-06-26 at 12:00 +0200, tutor-request at python.org wrote:
> Or more commonly add a first line like:
> #! /path/to/python/executable
> Then you can simply make the file executable and run it by typing its
> $ threeplusfour.py
On my computer, running Linux Ubuntu, I always have to type
./threePlusFour.py to get it to run. Otherwise I get a not found
> or double clicking it in your favourite file manager GUI tool.
> See the topic "Add a Little style" in my tutorial, in the box
> Note for Unix users
> for more details.
More information about the Tutor