title: Always run a particular file, one that isn't the current file in VS code
body: <p>When you select &quot;Run&quot; from the menu, VS Code will run the current file.</p>
  <p>But when I'm writing a Python package, the current file is almost certainly one of the module components of that package. These aren't the files I'm trying to run.</p>
  <p>To test a package, I have a Python script that loads the package and runs some code on it. I generally am not editing that particular file at the time, since the actual work is being done in the package.</p>
  <p>Is there a (hopefully per-workspace) option for making the file that gets executed the same regardless of exactly what file you're currently looking at when you want to run? That is, I don't want to run the current file; I want to conceptually run the <em>workspace</em>, the project that the workspace represents.</p>