User contributions for WikiSysop
Jump to navigation
Jump to search
27 August 2025
- 19:4919:49, 27 August 2025 diff hist +515 m String manipulation →Exercises to be handed in
- 19:2019:20, 27 August 2025 diff hist +1 m String manipulation →Exercises to be handed in
- 19:1819:18, 27 August 2025 diff hist +19 m String manipulation →Exercises to be handed in
- 19:1719:17, 27 August 2025 diff hist −5 m String manipulation →Exercises to be handed in
- 19:1619:16, 27 August 2025 diff hist +91 m String manipulation →Exercises to be handed in
- 18:0318:03, 27 August 2025 diff hist +18 m Pseudocode and comments →Exercises to be handed in
- 16:2316:23, 27 August 2025 diff hist −562 m String manipulation →Exercises to be handed in
- 16:2216:22, 27 August 2025 diff hist +155 m Pseudocode and comments No edit summary
- 12:4312:43, 27 August 2025 diff hist 0 N File:BullsEye.png No edit summary current
- 12:3812:38, 27 August 2025 diff hist −211 m List manipulation →Exercises to be handed in
- 12:3712:37, 27 August 2025 diff hist −127 m Example code - Functions →Finding consensus sequence from protein alignment current
- 12:3712:37, 27 August 2025 diff hist +3,546 N Example code - Functions Created page with "__NOTOC__ == File used in example == [http://teaching.healthtech.dtu.dk/material/22116/aln7.fsa aln7.fsa] == Finding consensus sequence from protein alignment == This simple consensus sequence finder simply looks at each position on all the sequences in an alignment and picks the most frequent occurring amino acid as the consensus for that position. In case of tie, the first one according to the sorting algorithm is chosen. Stupid and random, but a good practical example..."
- 12:3312:33, 27 August 2025 diff hist +5,339 N List manipulation Created page with "__NOTOC__ {| width=500 style="font-size: 10px; float:right; margin-left: 10px; margin-top: -56px;" |Previous: Stateful parsing |Next: Functions |} == Required course material for the lesson == Powerpoint: [https://teaching.healthtech.dtu.dk/material/22116/22116_7-Lists.ppt Lists and Sequences]<br> <!-- Video: [https://panopto.dtu.dk/Panopto/Pages/Viewer.aspx?id=871af158-9477-47c6-8e89-af27012d6e8d The basics of lists in python]<br> Video: [https://panopto.dtu.dk..."
- 12:3012:30, 27 August 2025 diff hist 0 m Programme No edit summary
- 12:2912:29, 27 August 2025 diff hist −7 m Functions No edit summary
- 12:2912:29, 27 August 2025 diff hist +8 m Stateful parsing No edit summary
- 12:2812:28, 27 August 2025 diff hist +17 m Stateful parsing No edit summary
- 12:2812:28, 27 August 2025 diff hist +17 m Exceptions and bug handling No edit summary
- 12:2712:27, 27 August 2025 diff hist +17 m String manipulation No edit summary
- 12:2712:27, 27 August 2025 diff hist +17 m Pseudocode and comments No edit summary
- 12:2712:27, 27 August 2025 diff hist +17 m The path and simple file reading No edit summary
- 12:2612:26, 27 August 2025 diff hist +8 m Python recap No edit summary
- 12:2412:24, 27 August 2025 diff hist +9 m Python recap No edit summary
- 10:2410:24, 27 August 2025 diff hist +98 m The path and simple file reading →Exercises to be handed in
- 09:1309:13, 27 August 2025 diff hist +1 m Python recap →Exercises to be handed in
- 09:1309:13, 27 August 2025 diff hist +368 m The path and simple file reading →Exercises to be handed in
26 August 2025
- 11:0511:05, 26 August 2025 diff hist −11 m Functions No edit summary
- 10:3610:36, 26 August 2025 diff hist +4,178 N Functions Created page with "__NOTOC__ {| width=500 style="font-size: 10px; float:right; margin-left: 10px; margin-top: -56px;" |Previous: Regular Expressions |Next: Advanced Data Structures and New Data Types |} == Required course material for the lesson == Powerpoint: [https://teaching.healthtech.dtu.dk/material/22113/22113_04-Functions.ppt Making functions]<br> Video: [https://panopto.dtu.dk/Panopto/Pages/Viewer.aspx?id=f509116f-48e5-445b-bf6e-af27012ba23f Functions in Python] Monday<br>..."
- 10:3510:35, 26 August 2025 diff hist +4 m Stateful parsing No edit summary
- 10:1910:19, 26 August 2025 diff hist 0 m Stateful parsing No edit summary
- 10:1910:19, 26 August 2025 diff hist +3,402 N Stateful parsing Created page with "__NOTOC__ {| width=500 style="float:right; margin-left: 10px; margin-top: -56px;" |Previous: Exceptions and Bug Handling |Next: Lists |} == Required course material for the lesson == Powerpoint: [https://teaching.healthtech.dtu.dk/material/22101/22101_08-StatefulParsing.ppt Stateful Parsing]<br> Video: [https://panopto.dtu.dk/Panopto/Pages/Viewer.aspx?id=fe50507e-9009-49b1-a3a8-af27012d8cdf Stateful Parsing]<br> Video: [https://panopto.dtu.dk/Panopto/Pages/Viewe..."
- 10:1410:14, 26 August 2025 diff hist +1,489 N Example code - Exceptions Created page with "== Determining input type == How to determine the input with try/expect. This is not really how it is done in practice, but it is still good to understand the ideas, because sooner or later you run into a situation where parts of this is useful. <pre> inputstring = input("Enter something and I will guess what it is: ") try: # This assignment will succeed mytype = 'string' # This may fail, in such case our exception handler is called result = float(inputst..." current
- 10:1410:14, 26 August 2025 diff hist +4,093 N Exceptions and bug handling Created page with "__NOTOC__ {| width=500 style="float:right; margin-left: 10px; margin-top: -56px;" |Previous: String manipulation |Next: Stateful parsing |} == Required course material for the lesson == Powerpoint: [https://teaching.healthtech.dtu.dk/material/22116/22116_05-Exceptions.ppt Exceptions and bug handling]<br> <!-- Video: [https://panopto.dtu.dk/Panopto/Pages/Viewer.aspx?id=d230fcd7-c06c-414e-a14d-af27012e22f6 Exceptions]<br> Video: [https://panopto.dtu.dk/Panopto/Pag..."
- 10:0710:07, 26 August 2025 diff hist +1,131 N Example code - Changing tabs to spaces Created page with "== Replacing tabs with spaces == As you may have discovered by now, Python is very sensitive about mixing tabs and spaces in the indentation. This program discovers all the tabs and makes them into spaces. You can decide how many spaces a tab should be.<br> The program is meant to work in a Unix environment, and Jupyter Notebook will tend to make it superfluous. <pre> filename = input("Filename: ") spaceno = int(input("Number of spaces instead of a tab: ")) # Make a st..." current
- 10:0710:07, 26 August 2025 diff hist +11 m String manipulation →Required course material for the lesson
- 10:0410:04, 26 August 2025 diff hist +6,443 N String manipulation Created page with "__NOTOC__ {| width=500 style="float:right; margin-left: 10px; margin-top: -56px;" |Previous: Pseudocode and comments |Next: Exceptions and bug handling |} == Required course material for the lesson == Powerpoint: [https://teaching.healthtech.dtu.dk/material/22116/22116_04-String.ppt String manipulation]<br> Resource: Biological knowledge needed in the course<br> Resource: Example code - Input Output<br> Resource: [https://teaching.healthtech.dtu.dk/mater..."
- 09:5409:54, 26 August 2025 diff hist 0 m Pseudocode and comments No edit summary
- 09:5209:52, 26 August 2025 diff hist +124 m Pseudocode and comments →Exercises to be handed in
- 09:4009:40, 26 August 2025 diff hist −89 m Pseudocode and comments →Exercises to be handed in
- 09:2309:23, 26 August 2025 diff hist +561 m Pseudocode and comments →Exercises to be handed in
- 09:2109:21, 26 August 2025 diff hist +780 m Pseudocode and comments →Exercises to be handed in
- 07:5607:56, 26 August 2025 diff hist +3,091 N Collection of files Created page with "__NOTOC__ Last updated: September 1, 2025<br> Warning: This is not complete or correct yet. == Files used in various exercises == To download the files to your system, just press the Shift key while you left click on the blue link. Follow the instructions.<br> You can play around with these files as much as you like. If you change or destroy them, just download them again.<br> Put the files in your course folder on your computer.<br> <!--The files have been zipped togeth..."
- 07:5407:54, 26 August 2025 diff hist −1 m Pseudocode and comments →Subjects covered
- 07:5307:53, 26 August 2025 diff hist −1 m Programme No edit summary
- 06:1206:12, 26 August 2025 diff hist −79 m Python recap →Exercises to be handed in
25 August 2025
- 18:2618:26, 25 August 2025 diff hist +572 m Pseudocode and comments No edit summary
- 18:2418:24, 25 August 2025 diff hist +152 m Python recap →Required course material for the lesson
- 18:2418:24, 25 August 2025 diff hist +5 m Pseudocode and comments →Required course material for the lesson
- 16:3716:37, 25 August 2025 diff hist +44 m Pseudocode and comments →Exercises to be handed in
- 16:3616:36, 25 August 2025 diff hist +2,275 N Pseudocode and comments Created page with "__NOTOC__ {| width=500 style="float:right; margin-left: 10px; margin-top: -56px;" |Previous: The path and simple file reading |Next: Python Input-Output |} == Required course material for the lesson == Powerpoint: [https://teaching.healthtech.dtu.dk/material/22116/22116_03-PseudoComments.ppt Pseudocode, comments and user interface]<br> Video: [https://panopto.dtu.dk/Panopto/Pages/Viewer.aspx?id=79ac24c4-603c-4a6e-9343-af2701292c8c The use of pseudocode and comme..."