Python Forum
Thread Rating:
  • 1 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Command Prompt Issue
#1
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 :)
Reply
#2
Hi Lana,
could you show us the code you are using?
Reply
#3
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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  What is the difference between Command Prompt and Sublimes yaoyao22 1 634 Jul-09-2023, 02:56 PM
Last Post: snippsat
  Command line argument issue space issue mg24 5 1,323 Oct-26-2022, 11:05 PM
Last Post: Yoriz
  Facing Problem while opening a file through command prompt vlearner 4 1,904 Jan-30-2022, 08:10 AM
Last Post: snippsat
  SMTPSenderRefused: (530, b'5.7.0 Must issue a STARTTLS command first rhat398 0 3,331 Jul-13-2021, 06:24 PM
Last Post: rhat398
  Noob warning: trying to use pip to install pytest and pep8 in Command Prompt adifrank 4 5,309 Dec-20-2020, 04:23 AM
Last Post: adifrank
  Running Python in Command Prompt Anwar 3 3,080 Nov-15-2020, 03:15 PM
Last Post: snippsat
  starting python from windows command prompt MaartenRo 4 2,806 Sep-04-2020, 12:25 PM
Last Post: MaartenRo
  Will not print in command prompt PandaCode 12 13,043 May-06-2020, 03:48 AM
Last Post: PandaCode
  Script works when executed from command prompt but not when executed in SDP Tippex 0 2,000 Apr-07-2020, 04:26 PM
Last Post: Tippex
  Can read files in command prompt but not IDE Exsul 2 2,155 Sep-13-2019, 01:40 AM
Last Post: jsira2003

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020