Python Forum
file system path representation
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
file system path representation
#8
there are many errors coders can make with any class of object. gather all the classes for which str(obj) is the first implemented way to get its string representation (for purposes you would not use repr(obj)). now why does the Path class stand out as error prone? or are they all error prone. i do not recall making any errors with that. what do these users want? a Python in which no one can make any error, ever (a dream language). i'd have rather had obj.str(). is that what those users wanted?
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
file system path representation - by Skaperen - Feb-27-2021, 10:41 PM
RE: file system path representation - by snippsat - Feb-28-2021, 12:16 PM
RE: file system path representation - by Skaperen - Mar-01-2021, 02:42 AM
RE: file system path representation - by snippsat - Mar-01-2021, 10:53 AM
RE: file system path representation - by Skaperen - Mar-02-2021, 12:21 AM
RE: file system path representation - by snippsat - Mar-02-2021, 12:34 PM
RE: file system path representation - by Skaperen - Mar-03-2021, 02:12 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  importing a module given a path to the file Skaperen 8 1,319 Nov-04-2023, 07:03 PM
Last Post: Skaperen
  max component length of file path name Skaperen 1 1,093 Jun-19-2022, 04:03 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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