title: Suppress undefined name warning in Spyder?
body: <p>Being in the process of switching from Matlab to Python/IPython/Spyder I ran into the following issue.</p>
  <p>In a Matlab script (and I actually did not notice this until I switched to Python) there is no warning if you are using a variable which you did not define in that script.</p>
  <p>What I kept doing all the times in Matlab was to have, say, 2 (or more) scripts which I would then execute one after the other. The second script would typically use variables defined in the first, but would not give me any warning.</p>
  <p>In Spyder I noticed that the situation is different. In my hypothetical second script, all the variables which are not defined in the second script itself give me a warning (undefined name '...'), which is not nice too see...</p>
  <p>Another typical example, would be the following: I have a main script but there is something in this script I wanna look at better. So, without touching the script, I would create another file where I would copy paste a few lines from the script to play a little with them.
  In this new file I would be using variables which are in the console already but that are techically unknown to the file itself, so would give me a warning.</p>
  <p>So I guess I am simply asking if there a way to suppress this kind of warnings.</p>
  <p>Or there might be a deeper question of whether there s a more pythonic way of working, but there I am really not sure about...</p>