Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problems with windows paths
#3
Sorry, but this is noting new for me.
But when i get the path from the system using the python os class it should already be int the correct format.
Note that i didn't specify the path by myself like path = "C:\svn\..." in this case it would be a string with the special characters \ for python.
And this has nothing to do that it is once with the slashes and later without.?
In my opinion the os class should be capable to manage this problems.
Note that i already used
self.cwd = os.getcwd
to get this path...
Reply


Messages In This Thread
Problems with windows paths - by delphinis - Jul-21-2020, 11:03 AM
RE: Problems with windows paths - by deanhystad - Jul-21-2020, 02:38 PM
RE: Problems with windows paths - by delphinis - Jul-21-2020, 03:17 PM
RE: Problems with windows paths - by deanhystad - Jul-21-2020, 03:24 PM
RE: Problems with windows paths - by delphinis - Jul-21-2020, 04:17 PM
RE: Problems with windows paths - by deanhystad - Jul-21-2020, 05:56 PM
RE: Problems with windows paths - by Gribouillis - Jul-21-2020, 06:11 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  pdf2image, poppler and paths jehoshua 18 15,138 Jun-14-2022, 06:38 AM
Last Post: jehoshua
  Windows paths issue otalado 3 1,526 May-29-2022, 09:11 AM
Last Post: snippsat
  automatically get absolute paths oclmedyb 1 2,144 Mar-11-2021, 04:31 PM
Last Post: deanhystad
  chkFile with absolute paths JarredAwesome 7 3,055 Sep-21-2020, 03:51 AM
Last Post: bowlofred
  Paths millpond 12 5,305 Jul-30-2020, 01:16 PM
Last Post: snippsat
  Shortest paths to win snake and ladder sandaab 5 4,322 Jun-30-2019, 03:20 PM
Last Post: sandaab
  How to handle paths with spaces in the name? zBernie 1 6,791 Nov-22-2018, 04:04 AM
Last Post: ichabod801
  Question: Paths and writing to a file mwmaw 6 6,608 Dec-20-2016, 03:44 PM
Last Post: wavic

Forum Jump:

User Panel Messages

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