nano is a basic editor and the default that instructors use in the workshop. It is installed along with Git.
15/09/2023
9 AM - 5PM
Instructors: Danai Korre
Helpers:
Some adblockers block the registration window. If you do not see the registration box below, please check your adblocker settings.
Software Carpentry Software Carpentry aims to help people get their work done in less time and with less pain by teaching them basic research computing skills. This introductory hands-on workshop will cover basic concepts and tools, including program design, version control, data management, and task automation. Participants will be encouraged to help one another and interact with instructors during the workshop.
Register for the workshop here
.
For more information on what we teach and why, please see our paper "Best Practices for Scientific Computing".
Who: The course is aimed at individuals who have some (even a small amount) previous experience of coding in other languages (e.g. C++, Visual Basic, Fortran, Matlab etc) and are interested in learning how Python can be used. You don't need to have any previous knowledge of the tools that will be presented at the workshop. You don't need to have any previous knowledge of the tools that will be presented at the workshop.
Where: Online. Get directions with
When: 15/09/2023. Add to your Google Calendar.
Requirements: Participants need to join the online system with a laptop Mac, Linux, or Windows operating system (not a tablet, Chromebook, etc.) that they have administrative privileges on. They should have a few specific software packages installed (listed below). They should have a few specific software packages installed (listed below).
Accessibility: We are committed to making this workshop accessible to everybody.
Contact: Please email d.korre@ed.ac.uk for more information.
Roles: To learn more about the roles at the workshop (who will be doing what), refer to our Workshop FAQ.
Everyone who participates in Carpentries activities is required to conform to the Code of Conduct. This document also outlines how to report an incident if needed.
We will use this collaborative document for chatting, taking notes, and sharing URLs and bits of code.
Please be sure to complete these surveys before and after the workshop.
Before | Pre-workshop survey |
09:00 | Running and Quitting |
09:15 | Variables and Assignment |
09:35 | Data Types and Type Conversion |
09:55 | Built-in Functions and Help |
10:20 | Break |
10:25 | Libraries |
10:55 | Reading Tabular Data into DataFrames |
11:15 | Pandas DataFrames |
11:45 | Plotting |
12:15 | Lunch Break |
13:00 | Lists |
13:20 | For Loops |
13:45 | Conditionals |
14:10 | Looping Over Data Sets |
14:25 | Break |
14:40 | Writing Functions |
15:05 | Variable Scope |
15:25 | Programming Style |
15:55 | Wrap-Up |
16:45 | Feedback |
17:00 | Finish |
After | Post-workshop survey |
To participate in a Software Carpentry workshop, you will need access to software as described below. In addition, you will need an up-to-date web browser.
We maintain a list of common issues that occur during installation as a reference for instructors that may be useful on the Configuration Problems and Solutions wiki page.
When you're writing code, it's nice to have a text editor that is optimized for writing code, with features like automatic color-coding of key words. The default text editor on macOS and Linux is usually set to Vim, which is not famous for being intuitive. If you accidentally find yourself stuck in it, hit the Esc key, followed by :+Q+! (colon, lower-case 'q', exclamation mark), then hitting Return to return to the shell.
nano is a basic editor and the default that instructors use in the workshop. It is installed along with Git.
nano is a basic editor and the default that instructors use in the workshop. See the Git installation video tutorial for an example on how to open nano. It should be pre-installed.
nano is a basic editor and the default that instructors use in the workshop. It should be pre-installed.
Python is a popular language for research computing, and great for general-purpose programming as well. Installing all of its research packages individually can be a bit difficult, so we recommend Anaconda, an all-in-one installer.
Regardless of how you choose to install it, please make sure you install Python version 3.x (e.g., 3.6 is fine).
We will teach Python using the Jupyter Notebook, a programming environment that runs in a web browser (Jupyter Notebook will be installed by Anaconda). For this to work you will need a reasonably up-to-date browser. The current versions of the Chrome, Safari and Firefox browsers are all supported (some older browsers, including Internet Explorer version 9 and below, are not).
bash Anaconda3-and then press Tab to autocomplete the full file name. The name of file you just downloaded should appear.
yes
and press enter to approve the license.
Press Enter (or Return)
to approve the default location
for the files.
Type yes
and press
Enter (or Return)
to prepend Anaconda to your PATH
(this makes the Anaconda distribution the default Python).