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

a couple of suggestions after reading the lesson #391

Open
nden opened this Issue Jul 18, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@nden

nden commented Jul 18, 2017

On one occasion the lesson mentions aliasing a package during import as in import numpy as np
Perhaps it's worth mentioning the construct from ... import ... which is also very often
used in scientific software and warn against using from ... import *.

While reading the section "Analyzing Patient data" I thought a call to the matplotlib colorbar() function after the imshow() call would be useful.

@cleary3

This comment has been minimized.

Contributor

cleary3 commented Dec 13, 2017

On one occasion the lesson mentions aliasing a package during import as in import numpy as np
Perhaps it's worth mentioning the construct from ... import ... which is also very often
used in scientific software and warn against using from ... import *.

As I understand it, the Python lessons in Software Carpentry are trying to teach basic programming skills and concepts with Python as a vehicle for the instruction. Software Carpentry is explicitly not trying to teach Python. The various import styles show above are very Python specific and likely don't belong in the Software Carpentry lessons.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment