Visual Studio Code and "Indigo"

Python scripts to do various things. These would be scripts that talk directly with Indigo (use indigo.* methods).
SMUSEBY
Posts: 549
Joined: Wed Sep 16, 2009 9:38 pm
Location: California

Visual Studio Code and "Indigo"

Post by SMUSEBY »

Is there some way to define "Indigo" in Visual Studio Code so that it stops reporting "Indigo" as an error?
User avatar
DaveL17
Posts: 6883
Joined: Tue Aug 20, 2013 11:02 am
Location: Chicago, IL, USA
Contact:

Re: Visual Studio Code and "Indigo"

Post by DaveL17 »

What a lot of us do is include the following at the top of our code:

Code: Select all

try:
    import indigo
except ImportError:
    pass
I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]
Post Reply

Return to “Python Scripts”