Install_Software.py (0.38 kB)View fileThis item contains files with download restrictions
TEXT
ScrapeForumThread_HTML.py (16.16 kB)View fileThis item contains files with download restrictions
Next page
Previous page
1/1
Switch ViewSwitch between different file views
Thumbnail viewList viewFile view
3 filesFullscreen
Full report on challenges with learning to program and problem solve: an analysis of first year undergraduate Open University distance learning students' online discussions: Python source code
Python3 code to "scrape" OU Moodle forums and copy data into an Excel spreadsheet.
Relies on three freely available libraries which can be installed using the file "Install_Software.py".
"ScrapeForumThread_HTML.py" actually reads the data. It is expecting forum files to have been downloaded and placed in the same directory as the Python code. The code between lines 251 and 256 is responsible for locating the source forum files and naming the output worksheet should these need changing.
Once you've added turn types etc to the output worksheet you can use "EngagementMeasures.py" to calculate a variety of statistics about the forum data. Lines 450 onwards control which statistics are being created.