Skip to content
Snippets Groups Projects
Commit e3471c94 authored by Toby Hodges's avatar Toby Hodges
Browse files

Update README.md

parent 1fe1a94d
No related branches found
No related tags found
No related merge requests found
Pipeline #15522 passed
# Programming with Python # Intermediate Python
[![GitHub release][shields_release]][swc_py_releases] Next steps in Python programming,
[![Create a Slack Account with us][create_slack_svg]][slack_heroku_invite] for researchers who have already learned the basics of the language.
[![Slack Status][slack_channel_status]][slack_channel_url]
An introduction to Python for non-programmers using inflammation data. Pages adapted from [Software Carpentry's][swc-about] Programming with Python lesson.
## About the Lesson
This lesson teaches novice programmers to write modular code to perform data analysis
using Python. The emphasis, however, is on teaching language-agnostic principles of
programming such as automation with loops and encapsulation with functions,
see [Best Practices for Scientific Computing][best-practices] and
[Good enough practices in scientific computing][good-practices] to learn more.
The example used in this lesson analyses a set of 12 files with simulated inflammation
data collected from a trial for a new treatment for arthritis. Learners are shown
how it is better to automate analysis using functions instead of repeating analysis
steps manually.
The rendered version of the lesson is available at:
<https://swcarpentry.github.io/python-novice-inflammation/>.
This lesson is also available in [R][R] and [MATLAB][MATLAB].
## Episodes
| # | Episode | Time | Question(s) |
|--:|:---------|:----:|:------------|
| 1 | [Python Fundamentals][episode01] | 30 | What basic data types can I work with in Python?<br>How can I create a new variable in Python?<br>Can I change the value associated with a variable after I create it? |
| 2 | [Analyzing Patient Data][episode02] | 60 | How can I process tabular data files in Python? |
| 3 | [Visualizing Tabular Data][episode03] | 50 | How can I visualize tabular data in Python?<br>How can I group several plots together? |
| 4 | [Repeating Actions with Loops][episode04] | 30 | How can I do the same operations on many different values? |
| 5 | [Storing Multiple Values in Lists][episode05] | 30 | How can I store many values together? |
| 6 | [Analyzing Data from Multiple Files][episode06] | 20 | How can I do the same operations on many different files? |
| 7 | [Making Choices][episode07] | 30 | How can my programs do different things based on data values? |
| 8 | [Creating Functions][episode08] | 30 | How can I define new functions?<br>What’s the difference between defining and calling a function?<br>What happens when I call a function? |
| 9 | [Errors and Exceptions][episode09] | 30 | How does Python report errors?<br>How can I handle errors in Python programs? |
|10 | [Defensive Programming][episode10] | 30 | How can I make my programs more reliable? |
|11 | [Debugging][episode11] | 30 | How can I debug my program? |
|12 | [Command-Line Programs][episode12] | 30 | How can I write Python programs that will work like Unix command-line tools? |
## Contributing
[![Travis Build Status][travis_svg]][travis_url]
We welcome all contributions to improve the lesson!
Maintainers will do their best to help you if you have any questions, concerns,
or experience any difficulties along the way.
We'd like to ask you to familiarize yourself with our [Contribution Guide](CONTRIBUTING.md)
and have a look at the [more detailed guidelines][lesson-example] on proper formatting,
ways to render the lesson locally, and even how to write new episodes!
## Maintainers ## Maintainers
Lesson maintainers are [Trevor Bekolay][trevor_bekolay], [Maxim Belkin][maxim_belkin], Lesson maintainers are Renato Alves and Toby Hodges.
[Anne Fouilloux][anne_fouilloux], [Lauren Ko][lauren_ko], [Valentina Staneva][valentina_staneva], and [creator][swc_history] of Software Carpentry:
[Greg Wilson][greg_wilson].
## Authors ## Authors
A list of contributors to the lesson can be found in [AUTHORS](AUTHORS). A list of contributors to the lesson can be found in [AUTHORS](AUTHORS).
...@@ -68,9 +18,6 @@ Instructional material from this lesson is made available under the ...@@ -68,9 +18,6 @@ Instructional material from this lesson is made available under the
otherwise noted, example programs and software included as part of this lesson are made available otherwise noted, example programs and software included as part of this lesson are made available
under the [MIT license][mit-license]. For more information, see [LICENSE.md](LICENSE.md). under the [MIT license][mit-license]. For more information, see [LICENSE.md](LICENSE.md).
## Citation
To cite this lesson, please consult with [CITATION](CITATION).
## About Software Carpentry ## About Software Carpentry
Software Carpentry is a volunteer project that teaches basic computing skills to researchers since Software Carpentry is a volunteer project that teaches basic computing skills to researchers since
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment