Prepared for a workshop on Python held on April 7th, 2018 and organized by KU's Sacnas chapter. Unless otherwise stated, the content was written by Mark T. Holder (MTH); the content written by MTH can be used under FreeBSD or GPL licenses.
See the 2017 README for the full context in which this tutorial was written.
Things will go most smoothly if participants have the tools needed edit and run Python 3 code on their laptop when they show up.
Using terminal + text editor
For most people, editing and running Python this will mean being able to:
launch a terminal session. See the discussion for your platform on https://swcarpentry.github.io/shell-novice/setup.html
run the Python 3 interpreter. See Python downloads
Integrated development environment
Alternatively, you may choose to use a tool that edits text and lets you run python from within the same application. Options here include:
the free (but not terribly sophisticated) IDLE IDE that comes with many Python distributions.
PyCharm which has a free option for students and teachers.
the eclipse IDE with the python development support installed.
Regardless of how you run python, it will also be useful to have
- Google Chrome or Firefox Developer Tools
- The pip command-line tool for installing python packages.
Some URLs used in the tutorial
MTH will mainly be working from the https://github.com/mtholder/intro-python-phylogenetics/tree/mth-solution branch of this repo.