docs icon indicating copy to clipboard operation
docs copied to clipboard

[Edit] os.path.join

Open jeremyngcode opened this issue 1 year ago • 4 comments

Type of Edit (select all that apply)

Clarify unclear content and/or terms

Description (optional)

In the .join() method from this page, it seems that the explanation is missing some nuance as to how this method behaves, one example being that if any argument begins with a /, then all previous arguments will be skipped.

However, I do understand also if Codecademy has intentionally kept it simple. If this is the case, then I believe the / in "learn-python-3/lessons/" should be removed in order to align with the explanation given above it which says "Before being added to the returned value, each subsequent path_ string is prepended with a forward-slash /", because if not, then there would be a double forward-slash in the path string.

If a more elaborate explanation for the .join() method isn't desired, then this should be a quick fix. I can expand on this also if that is ok with the team.

Code of Conduct

  • [X] By submitting this issue, I agree to follow Codecademy Doc's Code of Conduct.

For Maintainers

  • [ ] Labels added
  • [ ] Issue is assigned

jeremyngcode avatar Feb 06 '24 18:02 jeremyngcode

@jeremyngcode Would I be able to take this issue?

RobinNap avatar Feb 07 '24 15:02 RobinNap

Hi @RobinNap, this issue isn't opened by the team, it's opened by me.

jeremyngcode avatar Feb 08 '24 03:02 jeremyngcode

I am still waiting to complete my first issue on Codecademy's GitHub. May I please work on this issue for the completion of my program? Thank you!

scottfinamore avatar Mar 06 '24 19:03 scottfinamore

Hello, may i please take on this issue. Thanks

kinggizz202 avatar Oct 21 '24 18:10 kinggizz202

🌸 Thanks for closing this Issue! Please head over to the Docs Forum if you have any questions about Docs, or reply to the thread on Possible Content Discussion to share ideas and collaborate with other contributors, maintainers, or super users to determine good future issues that will help expand Docs!

github-actions[bot] avatar Dec 23 '24 13:12 github-actions[bot]