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

Missing scripts? #288

Open
weaverbel opened this Issue Jul 18, 2016 · 1 comment

Comments

Projects
None yet
4 participants
@weaverbel
Contributor

weaverbel commented Jul 18, 2016

In the Python lesson sections, Errors and Exceptions and Command Line programs, scripts, e.g. readings_04.py, are referenced but not provided in the initial data download. When preparing the class, @LeahRoberts had to track down the scripts on GitHub and then convert them to Python 3 so they would work. Has anyone else had this problem or are the Python 3 scripts available somewhere we don't know about? If so, can the lesson be updated so they are easier to find.

@jangari

This comment has been minimized.

Contributor

jangari commented Sep 30, 2016

I just ran this for myself for the first time the other day, and I think this section (command line programs) would actually work better if we had to write our programs from scratch. I was confused by the material jumping forward to a different readings_0?.py script. It seems to allow the students to not write the scripts but simply run them from the command line.

I would further suggest that one could port the code from iPython notebooks (or wherever they've done their inflammation work) into a command line script, and make the necessary modifications to output the plots as PNG files. From here it looks as simple as a .savefig method on the figure object.

mrawls added a commit to mrawls/python-novice-inflammation that referenced this issue Jan 12, 2017

Add zip file of 'code' directory and refer to it on the Setup page
- This addresses Issue swcarpentry#288
- Learners will now have both 'data' and 'code' directories
- These codes are used in the 10-cmdline lesson (Command-Line Programs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment