Geany Permission Denied

January 29, 2024, 20:09

dubstepmad

I've saved a py script (just messing around) and I get a permission denied. Screenshot explains it faster

k9t33n

save the file with a name you remember then go into a terminal and type sudo python <filename>.py

dubstepmad

had to enter the path to it, so this works

dubstepmad

strange as the file didn't end in .py I just installed the python IDE as I'm more use to that

dubstepmad

cheers for the help though

k9t33n

I use thonny myself

dubstepmad

whats the difference?

k9t33n

thonny is just more thoughtfully put together than the actual python ide in my opinion

k9t33n

looks better, easier UI. actually meant for beginners. I sincerely suggest you try it

dubstepmad

will give it ago, I'm less of a beginner but its been a few years since I coded in python. My main stacks are C# & PHP

k9t33n

well even at advanced I still use it

k9t33n

I mean Vs code is better but struggling to get that on Linux rn

dubstepmad

might give ago installing it, this one I'm using is only a PI 3 v1.2 so not the most powerful one I have other one is using Octoprint for my 3D printer

k9t33n

it's fine to run thonny

k9t33n

I myself don't use desktop on my pis so I just use the python command