<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Spyder 4.0.1 issues in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/spyder-4-0-1-issues/m-p/36654#M2838</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dan-&amp;nbsp; I didn't bother pasting the code, as the errors were pretty obvious:&amp;nbsp; here's a copy none the less:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="string token"&gt;"""
Created on Mon Feb 10 12:17:17 2020

@author: jborgione
"""&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; arcpy
&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; os
&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; datetime
x &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'abcd'&lt;/SPAN&gt;
x &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;

x &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; some obvious error &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; code&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;

 varX &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'indent'&lt;/SPAN&gt;


&lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; j &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; someList&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;w&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After a little tweaking per your suggestions, I'm getting a few more warnings but not what I'm used to seeing.&amp;nbsp; Here is a screen cap of the complete script.&amp;nbsp; The upper stuff is what I pasted above, the warnings at line 36,38,40, and 43 are complaining about lack of white space or too much white space...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/480943_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji jive-image image-2 j-img-original" src="https://community.esri.com/legacyfs/online/480956_code.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Dec 2021 21:24:56 GMT</pubDate>
    <dc:creator>JoeBorgione</dc:creator>
    <dc:date>2021-12-10T21:24:56Z</dc:date>
    <item>
      <title>Spyder 4.0.1 issues</title>
      <link>https://community.esri.com/t5/python-questions/spyder-4-0-1-issues/m-p/36647#M2831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One of the things I like most about the Spyder IDE is it flags syntax errors as you go.&amp;nbsp; However, that does not seem to be the case in the version I upgraded to: 4.0.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a screen cap of what I'm talking about:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/480909_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Line 8 should have the warning that os is imported but not used. Lines 20,21, and 24 should be syntax errors as well. Is there a setting I've missed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3116"&gt;Dan Patterson&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2020 19:38:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/spyder-4-0-1-issues/m-p/36647#M2831</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2020-02-10T19:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: Spyder 4.0.1 issues</title>
      <link>https://community.esri.com/t5/python-questions/spyder-4-0-1-issues/m-p/36648#M2832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/4422"&gt;Joe Borgione&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;What I use&lt;/P&gt;&lt;P&gt;Preferences... Completion and Linting, Linting, Enable basic linting checked on and the McCabe thing checked on.&lt;/P&gt;&lt;P&gt;The rest you will have to play around with to suit your needs.&lt;/P&gt;&lt;P&gt;I didn't do the Kite thing since I really hate those things that try to help when you don't need it (waiter trying to fill your glass while you are drinking kind of thing)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2020 20:16:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/spyder-4-0-1-issues/m-p/36648#M2832</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2020-02-10T20:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: Spyder 4.0.1 issues</title>
      <link>https://community.esri.com/t5/python-questions/spyder-4-0-1-issues/m-p/36649#M2833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll take a look...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="background-color: #ffffff; "&gt;...waiter trying to fill your glass while you are drinking kind of thing...&amp;nbsp; &amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Why is it as soon as you have a mouthful of food, the server stops by and asks 'How is everything?'&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2020 21:11:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/spyder-4-0-1-issues/m-p/36649#M2833</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2020-02-10T21:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: Spyder 4.0.1 issues</title>
      <link>https://community.esri.com/t5/python-questions/spyder-4-0-1-issues/m-p/36650#M2834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got at least one syntax error to show up, but that's about it; I reset it to factory and then started picking and choosing.&amp;nbsp; something is not right though....&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/480924_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;In this script I don't use datetime; everything between 11 and 20 is problematic....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2020 21:27:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/spyder-4-0-1-issues/m-p/36650#M2834</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2020-02-10T21:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: Spyder 4.0.1 issues</title>
      <link>https://community.esri.com/t5/python-questions/spyder-4-0-1-issues/m-p/36651#M2835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;perhaps if&amp;nbsp; one would post a snippet instead of a screengrab&amp;nbsp; &amp;nbsp;one might be able to copy and paste it in their spyder 4.0.1 for testing .... hmmmm??? &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2020 23:03:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/spyder-4-0-1-issues/m-p/36651#M2835</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2020-02-10T23:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: Spyder 4.0.1 issues</title>
      <link>https://community.esri.com/t5/python-questions/spyder-4-0-1-issues/m-p/36652#M2836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image" height="394" src="https://community.esri.com/legacyfs/online/480935_spyder_preferences_01.png" width="740" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2020 23:18:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/spyder-4-0-1-issues/m-p/36652#M2836</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2020-02-10T23:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: Spyder 4.0.1 issues</title>
      <link>https://community.esri.com/t5/python-questions/spyder-4-0-1-issues/m-p/36653#M2837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is an open issue on github&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/spyder-ide/spyder/issues/11026" title="https://github.com/spyder-ide/spyder/issues/11026"&gt;Code completion and linting stop working during the current session · Issue #11026 · spyder-ide/spyder · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try a restart to see if linting returns.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A few other issues about lagginess, but I suspect you don't have 20,000 lines of code open at once(?)&lt;/P&gt;&lt;P&gt;Don't upgrade 'parso' until it is confirmed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2020 04:48:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/spyder-4-0-1-issues/m-p/36653#M2837</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2020-02-11T04:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Spyder 4.0.1 issues</title>
      <link>https://community.esri.com/t5/python-questions/spyder-4-0-1-issues/m-p/36654#M2838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dan-&amp;nbsp; I didn't bother pasting the code, as the errors were pretty obvious:&amp;nbsp; here's a copy none the less:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="string token"&gt;"""
Created on Mon Feb 10 12:17:17 2020

@author: jborgione
"""&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; arcpy
&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; os
&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; datetime
x &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'abcd'&lt;/SPAN&gt;
x &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;

x &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; some obvious error &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; code&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;

 varX &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'indent'&lt;/SPAN&gt;


&lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; j &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; someList&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;w&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After a little tweaking per your suggestions, I'm getting a few more warnings but not what I'm used to seeing.&amp;nbsp; Here is a screen cap of the complete script.&amp;nbsp; The upper stuff is what I pasted above, the warnings at line 36,38,40, and 43 are complaining about lack of white space or too much white space...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/480943_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji jive-image image-2 j-img-original" src="https://community.esri.com/legacyfs/online/480956_code.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 21:24:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/spyder-4-0-1-issues/m-p/36654#M2838</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2021-12-10T21:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: Spyder 4.0.1 issues</title>
      <link>https://community.esri.com/t5/python-questions/spyder-4-0-1-issues/m-p/36655#M2839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;pasted what you posted and lines 11, 15 and since there were 3 blank lines after line 19 , I got an error there.&lt;/P&gt;&lt;P&gt;The other warnings that you got are because you don't have a space after a comma.&lt;/P&gt;&lt;P&gt;line 13 doesn't error out because line 11 has an error (no point in pointing out more until that one is fixed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can suppress warnings that aren't part of your code style using the "pylint disable " lines that I posted in the image.&lt;/P&gt;&lt;P&gt;Remember for the most part pycode style are recommendations not rules.&lt;/P&gt;&lt;P&gt;If you want, I can send you my spyder.ini file.&lt;/P&gt;&lt;P&gt;When you get the a script running without errors, you can run Static Code Analysis (Source Tab, or hit F8) to get a line-by-line assessment&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2020 16:58:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/spyder-4-0-1-issues/m-p/36655#M2839</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2020-02-11T16:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: Spyder 4.0.1 issues</title>
      <link>https://community.esri.com/t5/python-questions/spyder-4-0-1-issues/m-p/36656#M2840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/4422"&gt;Joe &lt;/A&gt;4.1.2 is out and good if you haven't updates‌&amp;nbsp; conda update blah --no-pin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2020 00:38:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/spyder-4-0-1-issues/m-p/36656#M2840</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2020-04-16T00:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: Spyder 4.0.1 issues</title>
      <link>https://community.esri.com/t5/python-questions/spyder-4-0-1-issues/m-p/36657#M2841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3116"&gt;Dan Patterson&lt;/A&gt;&amp;nbsp;My current Spyder install has been reminding me of that...&amp;nbsp; I'm working from home for now on a laptop, and hoping this situation doesn't last a whole lot longer so I'm inclined to leave my envs as is for now.&amp;nbsp; I'll&amp;nbsp;update my desktop when things get back to normal.&amp;nbsp; Whatever/whenever that is....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2020 13:40:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/spyder-4-0-1-issues/m-p/36657#M2841</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2020-04-16T13:40:39Z</dc:date>
    </item>
  </channel>
</rss>

