Howto ignore specific undefined variables in Pydev (eclipse)
- by chris.nullptr
I'm writing a crossplatform python script on windows using Eclipse with the Pydev plugin. The script makes use of the os.symlink() and os.readlink() methods if the current platform isn't NT.
Since the os.symlink() and os.readlink() methods aren't available on the windows platform Pydev flags them as undefined variables--like so:
Is there a way to explicitly ignore certain undefined variable name errors (e.g. os.symlink())?