From 1760ccac524870017d41b4376b8f6e8b687a560c Mon Sep 17 00:00:00 2001 From: Anders Andersson Date: Tue, 15 Aug 2023 10:27:50 +0200 Subject: [PATCH] Update readme.md --- prog/p1/readme.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/prog/p1/readme.md b/prog/p1/readme.md index 457323a..a9bcad8 100644 --- a/prog/p1/readme.md +++ b/prog/p1/readme.md @@ -2,12 +2,6 @@ This is an introductory lab for the programming part of the course. Your task is to write a function that can convert DNA sequence to amino acid sequence. To your help you have a scaffold of python code that you should use as to validate your code and also to make sure you follow a standard that the TAs can automatically validate. -## Preparations - -### VSCode - -If you are not yet familiar with the VScode software, watch for example this [short introduction video](https://code.visualstudio.com/docs/introvideos/basics). Note that you can run your code directly in VScode and don't need to open a separate terminal window. You can run either the whole script by e.g. pressing the start symbol in the upper right corner or by typing `labp1.py` in the terminal window below the code window (if you don't see it, select "Terminal" in the "View" menu). You can also run Python in interactive mode by typing `python3` in the terminal window. This will give you a `>>>` prompt and now you can paste (or type) sections of the code that will be executed. Another way to do this is to mark a section of the code, right-click, and select "Run Python" / "Run Selection/Line in Python Terminal" (or press Shift+Enter). Don't forget to save every now and then. - ### Code Installation Begin with downloading the project to your local computer by using this [link](https://download-directory.github.io/?url=https%3A%2F%2Fgithub.com%2Fkth-gt%2Fcb2442%2Ftree%2Fmain%2Fprog%2Fp1). @@ -19,6 +13,10 @@ $ unzip 'kth-gt cb2442 main prog-p1.zip' $ code . ``` +### VSCode + +If you are not yet familiar with the VScode software, watch for example this [short introduction video](https://code.visualstudio.com/docs/introvideos/basics). Note that you can run your code directly in VScode and don't need to open a separate terminal window. You can run either the whole script by e.g. pressing the start symbol in the upper right corner or by typing `labp1.py` in the terminal window below the code window (if you don't see it, select "Terminal" in the "View" menu). You can also run Python in interactive mode by typing `python3` in the terminal window. This will give you a `>>>` prompt and now you can paste (or type) sections of the code that will be executed. Another way to do this is to mark a section of the code, right-click, and select "Run Python" / "Run Selection/Line in Python Terminal" (or press Shift+Enter). Don't forget to save every now and then. + ### Implementation Add a python function to the file `labp1.py` named