Teaching Python in the Era of AI: A Four-Year Retrospective of Student Performance and Perspectives in Chemical Engineering
Over the last decade, Python’s role in chemical engineering education has evolved from a peripheral tool to a core component of curricula worldwide. Among the various benefits, its adoption is driven by the need to prepare students for Industry 4.0, its versatility and accessibility, and extensive library ecosystem. In the field of chemical engineering, Python has been adopted in many Higher Education courses, including process control, thermodynamics, and chemical reaction engineering. At the Technical University of Denmark (DTU), it has been used in the Bachelor of Engineering (B.Eng.) chemical reaction engineering course since 2022. This work aims to analyse the introduction of Python in this course and the evolution of the students’ learning over the years. We aim to reflect on our experience and identify strengths and weaknesses of our approach to help other researchers and institutions with the smooth integration of this tool into their curriculum. The study reveals a critical "understanding gap": in recent years, students are often using AI to bypass the cognitive challenge of learning, leading to a fragile knowledge base. This manifests as an inability to apply concepts to new contexts and an uncritical reliance on AI-generated output that obscures fundamental errors. In the study, we also reflect on whether learning to program is still a relevant skill nowadays, given the widespread adoption of large language models (LLMs). Finally, we provide our reflections on the subject, as well as a broader discussion on the current challenges faced by Higher Education and the possible action points to address these challenges.
Authors
- Krist V. Gernaey (ORCID: https://orcid.org/0000-0002-0364-1773)
- Ulrich Krühne (ORCID: https://orcid.org/0000-0001-7774-7442)
- Carina L. Gargalo (ORCID: https://orcid.org/0000-0002-8740-9591)
- Fiammetta Caccavale (ORCID: https://orcid.org/0000-0003-0795-5988)
- Marc Lemperle (ORCID: https://orcid.org/0009-0006-6389-6563)
- Nikolai Asbjørn Jessen
- Teodor Manne de Val Weywadt
Institutions
- Technical University of Denmark (DK)
Publication Details
- Journal
- ChemRxiv
- Published
- 2026-11-29
- DOI
- https://doi.org/10.26434/chemrxiv.15012937/v1
- Primary Topic
- Teaching and Learning Programming
- Type
- preprint