This lesson is designed to guide researchers, already familiar with the basics of Python, through the next steps required to use the langauge most effectively.
After following the course, learners will be able to:
- recognise all elements of Python syntax they may encounter in other people’s code.
- employ many language features and standard functions to write sophisticated programs and modules.
- load and analyse tabular and numeric data.
- visualise their data and create publication-ready figures.
- write code that is readable, maintainable, and follows community style standards.
To follow this lesson, you should already be able to complete the following tasks with Python: define a variable; convert values between types e.g. integer, float, and string; compare values and write
elseconditions; write a function definition; import a module; add items to and access values from a list or dictionary; save and run your programs as scripts in the shell.
In addition, you will need to follow the setup instructions before you begin working through this material.
The commands in this lesson pertain to Python 3.
To get started, follow the directions on the “Setup” page to download data and install a Python interpreter.