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

Missing scripts? #288

weaverbel opened this issue Jul 18, 2016 · 1 comment

Missing scripts? #288

weaverbel opened this issue Jul 18, 2016 · 1 comment


Copy link

@weaverbel weaverbel commented Jul 18, 2016

In the Python lesson sections, Errors and Exceptions and Command Line programs, scripts, e.g., 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.

Copy link

@jangari 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
- 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)
@ErinBecker ErinBecker added this to the June 2019 Release milestone May 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants