Howto ignore specific undefined variables in Pydev (eclipse)
Posted
by chris.nullptr
on Stack Overflow
See other posts from Stack Overflow
or by chris.nullptr
Published on 2010-05-06T01:33:18Z
Indexed on
2010/05/06
1:38 UTC
Read the original article
Hit count: 322
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())?
© Stack Overflow or respective owner