Module 4: IDEs & Tools
Professional Development Environment
This module covers the tools that professional Python developers use. You will install VS Code, write and run scripts, work with files, manage environments with conda, and build your own small library.
From Notebooks to Professional Tools
Jupyter notebooks are excellent for learning and exploration, but real projects need more: code that can be reused, files that are read and written, libraries that are installed, and environments that keep each project independent. An IDE (integrated development environment) such as VS Code brings these tools together.
The key skill in this module is knowing which tool to use for which task, and organising your code so that you, and other people, can reuse it.

Module 4 is not assessed in the quizzes, the midterm or the final exam. Its purpose is different: to teach you the tools that programmers use every day. You will not be asked about it, but you will use it constantly in the courses that follow, in your projects and in your future job.
Start applying these tools right now. Do your exercises from other modules in VS Code, create a conda environment for each project, and write scripts instead of long notebooks. The sooner you practise, the sooner it feels natural.
If you get stuck, ask. Installing software on different laptops and operating systems can be confusing, and it is normal that something does not work the first time. Write to your professor, dprecioso@faculty.ie.edu, or bring the problem to class. Include the error message and your operating system, and we will solve it together.
Module Structure
The module has four parts. Each one builds on the previous one.
4.1 Introduction to Python development tools
Installing VS Code GitHub Copilot for Students Libraries, pip and conda
4.2 Scripts
4.3 Files
Files and Directories The random Library and Monte Carlo
4.4 Environments and extensions
Extra Practice
These pages are optional. They are good practice to review the previous modules and to see everything working together:
Learning Goals
By the end of this module you will be able to:
- Explain what an IDE is and install and configure VS Code with Python and Jupyter.
- Run notebooks and scripts in VS Code, and choose between them.
- Write scripts with a
mainfunction and import functions from other scripts. - Understand directories and paths, and read and write text and JSON files with
open(). - Use the
randomlibrary to simulate random events and run Monte Carlo experiments. - Install libraries with
pipandconda. - Create and manage conda environments, and select them in VS Code.
- Organise code into modules and a package that you can install and import from anywhere.
How to Use This Material
- Follow the pages in order: each part builds on the previous one.
- Do the exercises in VS Code, not in Colab, so you practise the tools of this module.
- Try each exercise before opening its solution.
- When something does not work, read the error message carefully, then check the working directory and the active environment.
What’s Next?
After completing this module, you will have a solid foundation in Python programming, from basic syntax to professional development practices. You will be ready to explore specialised libraries for data science, web development or scientific computing.