Advertising

Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

running python

Started by Linux_Newbi, March 08, 2014, 03:01:36 PM

Previous topic - Next topic

Linux_Newbi

Hi, me again.

On most previous distros i have used python works out the box, save as .py, click on it to run, and thats all, however this dosent seem to happen here, my files will only open in leafpad, even when i tell them to open with python. Do i need to install somethin more or am i doing something wrong? files are written in notepad ++ running in wine and in linux geany.

thank you

pavroo

#1
Hi

Did you check does the file.py have executive rights?
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

Linux_Newbi

#2
Um, no, how do I do that?

pavroo

#3
Right click on the file.py -> Properties -> Permissions -> Program: Allow this file to run as a program <- it has to be marked.
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

Linux_Newbi

#4
K, thx

View the most recent posts on the forum