Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Opening CMD from Python
#1
I want to open a cmd terminal at a specific directory, and run a command, then get the output to a variable in python. I searched the internet but could not find a suitable solution.
Thanks...
Reply


Messages In This Thread
Opening CMD from Python - by Oshadha - Jul-16-2022, 02:54 AM
RE: Opening CMD from Python - by snippsat - Jul-16-2022, 09:39 AM
RE: Opening CMD from Python - by Skaperen - Jul-17-2022, 11:22 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Why is IDLE not opening on a MacOS Montery 12.6 and using Python 3.10.7? Merlin385 7 1,715 Oct-08-2022, 08:36 PM
Last Post: Merlin385
Question Opening small size browser with python selenium not work, need help greenpine 0 1,625 Feb-07-2022, 11:36 AM
Last Post: greenpine
  python keeps opening script directory Tyrel 5 3,030 Aug-06-2021, 10:43 PM
Last Post: snippsat
  Python OpenCV window not opening in fullscreen mode Zman350x 0 3,309 Apr-29-2021, 07:54 PM
Last Post: Zman350x
  cv2.imshow Python is not opening the window on top Petko 0 2,382 Feb-21-2020, 11:11 AM
Last Post: Petko
  Python opening a new command window m_lokeshkumar 1 1,860 Jan-05-2020, 09:01 PM
Last Post: Larz60+
  Error -3 when opening matlab file in python python_newbie09 0 2,305 Aug-02-2019, 11:51 AM
Last Post: python_newbie09
  python script file not opening in IDLE editor srm 2 4,396 Jun-23-2019, 08:45 AM
Last Post: Larz60+
  Opening a livestream in python JosefFilosopio 3 3,772 Mar-06-2019, 04:11 PM
Last Post: Axel_Erfurt
  opening a file from a windows desktop folder- error opening file Charan007 1 2,988 Dec-06-2018, 11:50 AM
Last Post: buran

Forum Jump:

User Panel Messages

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