Python Forum

Full Version: Command Prompt Issue
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi!
Complete python noob here - trying to set up my command prompt so that I can execute programs from Geany.
(Following the Python Crash Course book and can't follow what it's saying!)
It's coming up with "Access denied" - but I don't know how to follow the path when I run cmd as administrator or how to make sure Geany does too.

Any advice would be greatly appreciated!
Thanks!
Lana

Edit: Forgot to mention - I'm using python3 on windows 10 :)
Hi Lana,
could you show us the code you are using?
Depending on what you want to start adding a tool is pretty straight forward where you'll follow the docs then supply the cmd prompt for calculator(as an example) as calc and nothing more. Windows already has the utility on the system path in its own registry system (not user registry system, don't confuse them). Notepad is simply notepad and so on.

Geany will call the command line at the user privilege level it was started so do be aware that Program Files can be a bit tricky now and AppData files just as mush with Windows getting really strict with permissions more recently.