Skip to content

Episode 6: add a callout to explain __pycache__ when it appears #379

Description

@alexlyttle

How could the content be improved?

Some learners will notice the __pycache__ directory appear when they first import the module in the Python interpreter.

from eva_data_analysis import text_to_duration

A callout explaining what this is would be useful, along with a hint to add it to .gitignore. A keen learner may accidentally commit the contents of this directory.

Another callout elsewhere recommending using a standard Python .gitignore file may also be useful (e.g. this one).

Which part of the content does your suggestion apply to?

https://carpentries-incubator.github.io/better-research-software/06-code-correctness.html#informal-testing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions