Will Dyke
Will Dyke

Reputation: 11

Can't create and run new python file in Komodo

I recently installed Komodo Editor to write some Python 3 code. I can open the files provided by instructor, however cannot create and run my own files.

When I try to run them, I get the following "env. (file directory) ": Permission denied".

How to create and run new Python programs in Komodo editor?

Upvotes: 1

Views: 1084

Answers (1)

Sam
Sam

Reputation: 21

you can check the permissions of the file by using the command in terminal ls -l "(file directory)/filename.py" if it is missing the x in rwx like mine was, you can reset it by using chmod 700 "file directory/filename.py" or do: chmod +x "file directory/filename.py"

Upvotes: 2

Related Questions