20 December 2024 || 17:00 - 18:30 (CET)
Functions and Modules in Python: Writing Reusable Code with Examples
with Humzaa Imtiaz Ullah
Price: $5
Webinar Description
This webinar focuses on Python functions and modules, essential tools for writing clean, modular, and reusable code. Participants will learn how to define and use functions to encapsulate logic, pass arguments, and return values, as well as how to create and import modules to organize code across multiple files. The session will also cover best practices for writing functions, such as handling exceptions and documenting code. Through practical examples, attendees will develop the skills needed to improve code maintainability and efficiency. This webinar is perfect for anyone looking to enhance their Python programming and develop more structured, scalable applications.
What you will learn?
Understand how to define and use functions in Python: Participants will learn how to create functions in Python, understand the concept of function parameters and return values, and gain experience with how functions can encapsulate repetitive tasks to improve code organization and reusability.
Master function arguments, default values, and variable scope: Discover how to pass arguments to functions, use default argument values, and understand variable scope (local vs. global) to ensure your functions are flexible and function correctly in different contexts.
Learn to create and work with Python modules: Understand how to organize your Python code into modules, allowing you to reuse functions and variables across multiple scripts. Learn how to import and utilize modules to keep code clean and avoid redundancy.
Explore best practices for writing reusable and maintainable functions: Learn to write functions that are easy to test, debug, and maintain by following best practices, including exception handling, modularization, and proper documentation with docstrings.
Apply functions and modules to real-world Python projects: Through hands-on exercises, participants will apply their knowledge of functions and modules to develop Python projects, demonstrating how modular code helps in building scalable and maintainable applications efficiently.
Guest Speaker
Meet Humzaa Imtiaz, a distinguished Chemical Engineer with a passion for both academia and industry. Humzaa holds a BSc and MSc in Chemical Engineering from the Technical University of Denmark, specialising in Process Engineering and complementing it with a minor in Energy and Environmental Engineering. Beyond academia, Humzaa’s expertise extends to the realm of research, where he has authored and co-authored publications focusing on process design and engineering. With extensive industrial experience spanning roles as diverse as Analyst, Research Assistant, Supplier Quality Engineer, Project Manager, and QMS Engineer in sectors including cement, IT, and pharma, Humzaa brings a wealth of practical knowledge to the table.