Introduction to python
In this first lab we’ll show you how to access the noteable server to work on code, how to import code from github to noteable, and then by working through the first notebook you’ll learn the basics of python. If that all sounds a bit complicated, don’t worry, it’s fairly simple and we’ll talk you through it step by step here. And if you can’t get it to work or have questions, we are available to help you in the drop-in labs on Teams.
All the coding for this course will be done using interactive Python notebooks, which allow us to combine text and code in a single document. The interactive Python notebooks work using a “Jupyter Server”. The University of Edinburgh provides one that you can log into, and we will be accessing it via Learn. To do that:
You will now see several notebook files (files whose name ends in “.ipynb”). The main part of today’s lab is the file lab1.ipynb - open that file by clicking on it, it’ll open up a new noteable window containing more explanatory text that you can work through. Your main task for labs this week is to work through that notebook! If you need help you can come to drop-in labs on Teams and get one-on-one help, but we have also made some extra notebooks available which will provide you some extra help:
This page was written by Kenny Smith, based on https://github.com/smkirby/SimLang/blob/master/README.md, written by Simon Kirby. All aspects of this work are licensed under a Creative Commons Attribution 4.0 International License.
Project maintained by centre-for-language-evolution Hosted on GitHub Pages — Theme by mattgraham