Fw: Re: [Tutor] Python

Michael Lange klappnase at freenet.de
Sat Jan 17 19:35:58 EST 2004



Begin forwarded message:

Date: Sun, 18 Jan 2004 01:31:59 +0100
From: Michael Lange <klappnase at freenet.de>
To: Daniel Ehrenberg <littledanehren at yahoo.com>
Subject: Re: [Tutor] Python


On Fri, 16 Jan 2004 17:01:24 -0800 (PST)
Daniel Ehrenberg <littledanehren at yahoo.com> wrote:

> 
> Really? I always thought you could run any text file
> using the python command, 

Ooops, sorry, of course you are right here

and that you need to do
> chmod +x to run it standalone.
> 

you can pass options to chmod in different ways, chmod +x makes the file
executable for anyone (what's well enough here of course), the octals in chmod 755
define the read and write permissions as well.

Regards

Michael







More information about the Tutor mailing list