python-ecology-lesson icon indicating copy to clipboard operation
python-ecology-lesson copied to clipboard

PR to address issue #471

Open nels opened this issue 5 years ago • 2 comments

Changes folder in the introductory suggested project layout from scripts to code

Referenced in issue #471, the Before we start episode 0 suggests keeping Python code in a scripts folder. Unfortunately, Anaconda has a built-in scripts module that will shadow the student's scripts folder and make

import scripts.example

fail.

The issue suggests adding an __init__.py to scripts. That adds unnecessary complexity to the introductory material and this PR proposes renaming the folder.

nels avatar Oct 09 '20 12:10 nels

Thanks, @nels. This seems like a reasonable solution.

Do you agree with this fix, @itcarroll?

maxim-belkin avatar Oct 09 '20 14:10 maxim-belkin

I defer to your better judgement!

itcarroll avatar Oct 09 '20 14:10 itcarroll

Returning to this 2.5 years later, in preparation for transition to the new lesson infrastructure, and it seems like this one is ready to merge. Thank you for contributing the fix, @nels, and I'm sorry it has taken such a long time to get it incorporated into the lesson.

tobyhodges avatar Apr 04 '23 12:04 tobyhodges