# Stubs for Automation 2040 W on vscode

**URL:** <https://forums.pimoroni.com/t/stubs-for-automation-2040-w-on-vscode/21885>\
**Category:** Support\
**Created:** [April 4, 2023, 2:36pm UTC](https://forums.pimoroni.com/t/stubs-for-automation-2040-w-on-vscode/21885 "2023-04-04T14:36:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michaelofrai](https://avatars.discourse-cdn.com/v4/letter/m/96bed5/32.png) [@Michaelofrai](https://forums.pimoroni.com/u/Michaelofrai)\
**Post date:** [April 4, 2023, 2:36pm UTC](https://forums.pimoroni.com/t/stubs-for-automation-2040-w-on-vscode/21885/1 "2023-04-04T14:36:36Z")

</div>

I’m trying to use vscode on a Pi 4 to develop in micropython for the pico on the Automation 2040 W.  
I’m using the “pimoroni-picow-v1.19.18-micropython.uf2” version of micropython.

vscode Extensions:

- ms-python.python
- visualstudioexptteam.vscodeintellicode
- ms-python.vscode-pylance
- Pico-W-Go

I can run my code, but vscode doesn’t recognize the “automation” module. I think this is because I don’t have “stubs” for it.

Questions:

- Where can I get stubs for “automation”? I tried to generate them, but ran out of filesystem space.
- How do I configure vscode to use the stubs?

Thanks
