Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
path.exists() problem
#3
Thanks! I belatedly forgot to menton I was using 3.7 in vscode on Windows 7.

I resolved the issue by adding a space between the option and string in the command line arguments. :

works: python "HFT_V_0.0.3.py" -s "C:\proj\python\HFT_0.0.3\Test_Data\testSource"

doesn't: python "HFT_V_0.0.3.py" -s"C:\proj\python\HFT_0.0.3\Test_Data\testSource"
Reply


Messages In This Thread
path.exists() problem - by CAHinton - Jul-23-2018, 11:57 PM
RE: path.exists() problem - by woooee - Jul-24-2018, 12:13 AM
RE: path.exists() problem - by CAHinton - Jul-24-2018, 05:47 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  WebDriverException: Message: 'PATH TO CHROME DRIVER' executable needs to be in PATH Led_Zeppelin 1 2,225 Sep-09-2021, 01:25 PM
Last Post: Yoriz
Exclamation Path sacn problem lucky511 10 3,916 Jun-24-2021, 12:09 PM
Last Post: Axel_Erfurt
  path.exists returning True when it shouldn't natha18 0 1,508 Sep-21-2020, 01:04 PM
Last Post: natha18
  problem about maze path finder Simurg 2 1,957 Aug-16-2020, 01:10 PM
Last Post: Simurg
  p]Why os.path.exists("abc/d") and os.path.exists("abc/D") treat same rajeev1729 1 2,175 May-27-2020, 08:34 AM
Last Post: DeaD_EyE
  Problem with reading a path gkiller007 30 23,131 Jan-05-2019, 10:09 PM
Last Post: snippsat
  Anaconda problem about path Leloup 1 8,103 Nov-23-2018, 05:14 PM
Last Post: Larz60+
  .pth file does not show up in sys.path when configuring path. arjunsingh2908 2 5,780 Jul-03-2018, 11:16 AM
Last Post: arjunsingh2908
  Problem with absolute path to file (Mr.Stickman Problems) SheeppOSU 3 6,251 Jun-26-2018, 10:05 AM
Last Post: Larz60+
  Problem in a path finding algorithm (counter is not working) Kowalski 3 3,263 Feb-05-2018, 01:23 PM
Last Post: Gribouillis

Forum Jump:

User Panel Messages

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