{"batchcomplete":"","continue":{"lecontinue":"20250905090442|44","continue":"-||"},"query":{"logevents":[{"logid":54,"ns":0,"title":"Example code - Complex data","pageid":46,"logpage":46,"revid":249,"params":{},"type":"create","action":"create","user":"WikiSysop","timestamp":"2025-10-03T09:58:26Z","comment":"Created page with \"== Files used in example == [http://teaching.healthtech.dtu.dk/material/22113/TA_list.txt TA_list.txt]<br> [http://teaching.healthtech.dtu.dk/material/22113/student_list.txt student_list.txt]<br>  == Assigning students to TA's, Take 1 == This is a python3 program written by a TA. It was done in a hurry, without much regard to the teaching principles. The purpose of the program is to read a list of students and a list of TA's and randomly assign students to TA's for gradi...\""},{"logid":53,"ns":0,"title":"Example code - Lists and enumerate","pageid":45,"logpage":45,"revid":247,"params":{},"type":"create","action":"create","user":"WikiSysop","timestamp":"2025-10-03T09:55:05Z","comment":"Created page with \"__NOTOC__ == Files used in example == Our favorite data file: ''ex1.dat''  == Closest to zero == There are a lot of numbers in this file. Which number is the closest to zero and where is it (row/column) ?<br> This is more complicated because there are both positive and negative numbers in the file.<br> In order to demonstrate some of the new functions/methods, I pull the entire file into memory. This problem could be solved by reading line-by-line and not keeping all the...\""},{"logid":52,"ns":0,"title":"Python object model","pageid":44,"logpage":44,"revid":242,"params":{},"type":"create","action":"create","user":"WikiSysop","timestamp":"2025-10-01T08:55:07Z","comment":"Created page with \"__NOTOC__ {| width=500  style=\"font-size: 10px; float:right; margin-left: 10px; margin-top: -56px;\" |Previous: [[Regular expressions]] |Next: [[Programme]] |} == Required course material for the lesson == Powerpoint: [https://teaching.healthtech.dtu.dk/material/22116/22116_13-Objects.ppt Object model and complex data]<br> Resource: [[Example code - Dicts]]<br>  == Subjects covered == * Python objects * Identity * Mutable vs immutable * Complex data * Exam format  == Exer...\""},{"logid":51,"ns":6,"title":"File:Consensus.png","pageid":43,"logpage":43,"revid":212,"params":{},"type":"create","action":"create","user":"WikiSysop","timestamp":"2025-09-05T10:34:45Z","comment":""},{"logid":50,"ns":6,"title":"File:Consensus.png","pageid":43,"logpage":43,"revid":212,"params":{"img_sha1":"bl8tqctfmkc1sfjs4r8g1tvq3l95b4j","img_timestamp":"2025-09-05T10:34:45Z"},"type":"upload","action":"upload","user":"WikiSysop","timestamp":"2025-09-05T10:34:45Z","comment":""},{"logid":49,"ns":6,"title":"File:Correlation.png","pageid":42,"logpage":42,"revid":208,"params":{},"type":"create","action":"create","user":"WikiSysop","timestamp":"2025-09-05T09:05:19Z","comment":""},{"logid":48,"ns":6,"title":"File:Correlation.png","pageid":42,"logpage":42,"revid":208,"params":{"img_sha1":"ppx0kffoxky8588y5t5b1eh0qmjqnii","img_timestamp":"2025-09-05T09:05:19Z"},"type":"upload","action":"upload","user":"WikiSysop","timestamp":"2025-09-05T09:05:19Z","comment":""},{"logid":47,"ns":6,"title":"File:Alfabeta.png","pageid":41,"logpage":41,"revid":207,"params":{},"type":"create","action":"create","user":"WikiSysop","timestamp":"2025-09-05T09:05:03Z","comment":""},{"logid":46,"ns":6,"title":"File:Alfabeta.png","pageid":41,"logpage":41,"revid":207,"params":{"img_sha1":"6ygpf36btwov5326sadh8m8jrdyl4oc","img_timestamp":"2025-09-05T09:05:03Z"},"type":"upload","action":"upload","user":"WikiSysop","timestamp":"2025-09-05T09:05:03Z","comment":""},{"logid":45,"ns":6,"title":"File:Calc.png","pageid":40,"logpage":40,"revid":206,"params":{},"type":"create","action":"create","user":"WikiSysop","timestamp":"2025-09-05T09:04:42Z","comment":""}]}}