Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intro to os module #559

Closed
wants to merge 3 commits into from
Closed

Intro to os module #559

wants to merge 3 commits into from

Conversation

izaakm
Copy link

@izaakm izaakm commented Aug 6, 2021

Addresses issue #554.

Changes:

  • Remove markdown content from Episode 1.
  • Add content about the os library to Episode 6, specifically, introduce the getcwd, listdir, and chdir methods.

@alee
Copy link
Member

alee commented Aug 16, 2021

Thanks for the PR! I'm inclined to move the markdown removal into a separate PR so others in the community can chime in on whether they think it's worth removing.

We could also mark it as optional so instructors know to assess their learners when they are teaching and can skip over it if most people know / understand how it works.

Thoughts from others?

fmichonneau pushed a commit that referenced this pull request Sep 10, 2021
Makefile: fix 'bundle config' command flags
@martinosorb
Copy link
Contributor

I'd just like to point out that Pathlib is a new library part of Python's core libraries, and is now considered a much better standard for filesystem operations. Path.cwd(), Path("...").iterdir() can do the same as os.getcwd() and os.listdir(). As for chdir, I personally don't use it and think changing wd tends to cause trouble.

@izaakm izaakm closed this by deleting the head repository Jan 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Suggestion: introduce getcwd and listdir, and remove lesson content about Markdown
3 participants