<?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: ArcGIS 10:Doing Python to check for numbers of files in a directory-indentation e in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcgis-10-doing-python-to-check-for-numbers-of/m-p/591046#M46340</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Scott,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;my second approach with&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;def __init__(self, radius = 1):&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;is a short hand notation that allows the user to set the radius at the time of the object creation. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;radius = 1&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;means that when you create the object you can specify a value for the python attribute called radius. If you don't provide an explicit value then the __init__ method assumes that the radius has a value of 1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Essentially method 1 and method 2 yield the same result:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
# method 1
my_circle = Circle()
my_circle.radius = 2
# method 2
my_circle = Circle(2)&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If this notation is rather confusing you then don't worry about. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As a recommendation I would suggest to stay away from classes for the moment and to revisit the concept in a couple weeks when you are feeling more at home in Python.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Thomas&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 01:23:16 GMT</pubDate>
    <dc:creator>ThomasEmge</dc:creator>
    <dc:date>2021-12-12T01:23:16Z</dc:date>
    <item>
      <title>ArcGIS 10:Doing Python to check for numbers of files in a directory-indentation err</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-doing-python-to-check-for-numbers-of/m-p/591035#M46329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using the following tutorial materials to pick up the Python programming:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(i)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Python Programming for ArcGIS by David Quinn &amp;amp; Daniel Sheehan (dated: January 27, 2011)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(ii)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Python �?? Check for number of shapefiles in a directory in &lt;/SPAN&gt;&lt;A href="http://gis.stackexchange.com/questions/30059" rel="nofollow noopener noreferrer" target="_blank"&gt;http://gis.stackexchange.com/questions/30059&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried the following ArcPy code in my ArcMap 10: &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; &amp;gt;&amp;gt;&amp;gt; import arcpy
&amp;gt;&amp;gt;&amp;gt; import os
&amp;gt;&amp;gt;&amp;gt; import glob 
&amp;gt;&amp;gt;&amp;gt; # Check numbers of shapefiles in a directory
&amp;gt;&amp;gt;&amp;gt; path = "C:\\TEMP\\"
&amp;gt;&amp;gt;&amp;gt; first = glob.glob(os.path.join(path,"NavyAnnexPt06move*"))
&amp;gt;&amp;gt;&amp;gt; first 
['C:\\TEMP\\NavyAnnexPt06move.dbf', 'C:\\TEMP\\NavyAnnexPt06move.prj', 'C:\\TEMP\\NavyAnnexPt06move.sbn', 'C:\\TEMP\\NavyAnnexPt06move.sbx', 'C:\\TEMP\\NavyAnnexPt06move.shp', 'C:\\TEMP\\NavyAnnexPt06move.shx']
&amp;gt;&amp;gt;&amp;gt; # Also to check for the only filename in path
 
&amp;gt;&amp;gt;&amp;gt; def file_check(path):
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; """Returns true if in path there is only one basename"""
... import os
... mlist = []I am using the following tutorial materials to pick up the Python programming:
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for file in os.listdir(path):
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if os.path.basename(file).split(".")[0] not in mlist:
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mlist.append(os.path.basename(file).split(".")[0])
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if len(mlist)&amp;gt;1:
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return True
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else:
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return False
... 

Parsing error &amp;lt;type 'exceptions.IndentationError'&amp;gt;: unexpected indent (line 5)
&amp;gt;&amp;gt;&amp;gt; 
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and I got an indentation error. Please help, advise and respond.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Scott Chang&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:22:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-doing-python-to-check-for-numbers-of/m-p/591035#M46329</guid>
      <dc:creator>ScottChang</dc:creator>
      <dc:date>2021-12-12T01:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10:Doing Python to check for numbers of files in a directory-indentation e</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-doing-python-to-check-for-numbers-of/m-p/591036#M46330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; I got an indentation error. Please help, advise and respond.&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You must be fanatically consistent with indents. Do not mix tabs and spaces and make sure your indents are absolutely aligned for each block of code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you're not using an IDE (IDLE, PythonWin, PyScripter, WingIDE are the big four) I highly recommend it!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's an example of your function properly indented:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
"""Returns true if in path there is only one basename"""
import os
mlist = [] 
for file in os.listdir(path):
&amp;nbsp;&amp;nbsp;&amp;nbsp; if os.path.basename(file).split(".")[0] not in mlist:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mlist.append(os.path.basename(file).split(".")[0])
&amp;nbsp;&amp;nbsp;&amp;nbsp; if len(mlist)&amp;gt;1:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return True
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return False
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:22:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-doing-python-to-check-for-numbers-of/m-p/591036#M46330</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2021-12-12T01:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10:Doing Python to check for numbers of files in a directory-indentation e</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-doing-python-to-check-for-numbers-of/m-p/591037#M46331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Curtis,&amp;nbsp; Thanks for your nice response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to do the "block alignment" things you instructed. But, I still failed to get it right-see the attached file for details.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please kindly help, advise and respond again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Scott Chang&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2012 18:11:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-doing-python-to-check-for-numbers-of/m-p/591037#M46331</guid>
      <dc:creator>ScottChang</dc:creator>
      <dc:date>2012-08-21T18:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10:Doing Python to check for numbers of files in a directory-indentation e</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-doing-python-to-check-for-numbers-of/m-p/591038#M46332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Scott, here's what you sent:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]17142[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The error is the entire function's contents need to be indented. The docstring is not a comment, it's actual code, so it must be indented too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
def function():
&amp;nbsp;&amp;nbsp;&amp;nbsp; """This is my function""" 
&amp;nbsp;&amp;nbsp;&amp;nbsp; print "Hello world"
&amp;nbsp;&amp;nbsp;&amp;nbsp; return
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:22:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-doing-python-to-check-for-numbers-of/m-p/591038#M46332</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2021-12-12T01:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10:Doing Python to check for numbers of files in a directory-indentation e</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-doing-python-to-check-for-numbers-of/m-p/591039#M46333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Curtis, Thanks for your response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried my best to do the whole "block alignment" identation - see the attached file. I executed it and I got: Parsing error &amp;lt;type 'exceptions.IndentationError'&amp;gt;: unindent does not match any outer indentation level (line 10).&amp;nbsp; I am completely lost now.&amp;nbsp; Please help, advise and respond again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Scott Chang&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;P. S.&amp;nbsp; I also tried your "def function():&amp;nbsp; ......."&amp;nbsp; No "Hello world" is printed out in the Python Window of my ArcGIS 10 Desktop program!!??&amp;nbsp; Any comments on this thing I tried?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2012 11:23:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-doing-python-to-check-for-numbers-of/m-p/591039#M46333</guid>
      <dc:creator>ScottChang</dc:creator>
      <dc:date>2012-08-22T11:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10:Doing Python to check for numbers of files in a directory-indentation e</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-doing-python-to-check-for-numbers-of/m-p/591040#M46334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&amp;nbsp;&amp;nbsp; Parsing error &amp;lt;type 'exceptions.IndentationError'&amp;gt;: unindent does not match any outer indentation level (line 10). &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;Your indentation syntax online 10. The "else" statement must be at the same indent level as "if". &lt;A href="&amp;lt;/span&amp;gt;&amp;lt;a" target="_blank"&gt;(see" rel="nofollow" target="_blank"&amp;gt;http://docs.python.org/tutorial/controlflow.html](see&lt;/A&gt;&lt;SPAN&gt; the Python help) (This was my error - I moved your else in the wrong direction when I was fixing your code.)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;I highly recommend going through the &lt;A href="&amp;lt;/span&amp;gt;&amp;lt;a" target="_blank"&gt;Python" rel="nofollow" target="_blank"&amp;gt;http://docs.python.org/tutorial/index.html]Python&lt;/A&gt;&lt;SPAN&gt; tutorial, it gets you up to speed on things like this fast.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; I also tried your "def function():&amp;nbsp; ......."&amp;nbsp; No "Hello world" is printed out in the Python Window of my ArcGIS 10 Desktop program!!??&amp;nbsp; Any comments on this thing I tried?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You need to use arcpy.AddMessage to send messages from script tools. Print only works in your IDE, command line, or an interactive python prompt ("&amp;gt;&amp;gt;&amp;gt;") (btw a great place to test code). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;Arc 10.1 help: &lt;A href="&amp;lt;/span&amp;gt;&amp;lt;a" target="_blank"&gt;Writing" rel="nofollow" target="_blank"&amp;gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//00150000000p000000]Writing&lt;/A&gt;&lt;SPAN&gt; messages in script tools&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2012 15:23:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-doing-python-to-check-for-numbers-of/m-p/591040#M46334</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2012-08-22T15:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10:Doing Python to check for numbers of files in a directory-indentation e</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-doing-python-to-check-for-numbers-of/m-p/591041#M46335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Curtis,&amp;nbsp; Thanks for your nice response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the last several days, I went through the first 9 chapters of the Python tutorial, and the basic stuff of 2 Python books ("Python Programming&amp;nbsp; for the absolute beginner" [3rd Edition] by Michael Dawson and "The Quick Python Book" by Vernon L. Ceder) to pick up the essential, basic skills of Python programming. This morning, I executed the following ArcPy script in the ArcMap 10.0 of my "IAP2011-Quinn.mxd" project:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; &amp;gt;&amp;gt;&amp;gt; import arcpy
&amp;gt;&amp;gt;&amp;gt; import os
&amp;gt;&amp;gt;&amp;gt; import glob 
&amp;gt;&amp;gt;&amp;gt; path = "C:\\TEMP\\"
&amp;gt;&amp;gt;&amp;gt; def file_check(path):
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; """Returns true if path there is only one basename"""
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; import os
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mlist = []
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for file in os.listdir(path):
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if os.path.basename(file).split(".") not in mlist:
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mlist.append(os.path.basename(file).split(".")[0])
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if len(mlist)&amp;gt;1:
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return True
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else:
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return False
... 
&amp;gt;&amp;gt;&amp;gt; &lt;/PRE&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I executed this set of the ArcPy code statements. It ran OK without any error message.&amp;nbsp; But it did not give me the output.&amp;nbsp; I do not what it is happening in executing this ArcPy script.&amp;nbsp; Please kindly help, advise and respond again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many Thanks again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Scott Chang&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:23:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-doing-python-to-check-for-numbers-of/m-p/591041#M46335</guid>
      <dc:creator>ScottChang</dc:creator>
      <dc:date>2021-12-12T01:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10:Doing Python to check for numbers of files in a directory-indentation e</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-doing-python-to-check-for-numbers-of/m-p/591042#M46336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Looking good. Can't overstate the usefulness of that Python tutorial! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your function looks fine - but you need to run it:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&lt;SPAN style="color:blue;"&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/SPAN&gt; file_check(path)
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One little thing, there is another os function that will avoid a bug in your program if there are extra dots in your file name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;instead of using split(), os.path.splitext():&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
for file in os.listdir(path):
&amp;nbsp;&amp;nbsp;&amp;nbsp; basename = os.path.splitext(os.path.basename(file))[0]
&amp;nbsp;&amp;nbsp;&amp;nbsp; if basename not in mlist:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mlist.append(basename)
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also - your last if statement is inside the loop, I think you want it to dedent so it will run after the for loop is done.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:23:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-doing-python-to-check-for-numbers-of/m-p/591042#M46336</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2021-12-12T01:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10:Doing Python to check for numbers of files in a directory-indentation e</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-doing-python-to-check-for-numbers-of/m-p/591043#M46337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Curtis, Thanks for your nice, valuable response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(1) I got the "False" ouput from my old arcpy script and your new arcpy script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(2) I copied a new arcpy script for class Circle from Page 187 of Vernon L. Ceder's "The Quick Python Book".&amp;nbsp; I executed the arcpy script in my ArcGIS 10.0 and I got a&amp;nbsp; Runtime error &amp;lt;type 'exceptions.AttributeError'&amp;gt;....:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; &amp;gt;&amp;gt;&amp;gt; import arcpy
&amp;gt;&amp;gt;&amp;gt; import os
&amp;gt;&amp;gt;&amp;gt; import glob 
&amp;gt;&amp;gt;&amp;gt; path = "C:\\TEMP\\"
&amp;gt;&amp;gt;&amp;gt; def file_check(path):
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; """Return true if path there is only one basename"""
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; import os
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mlist = []
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for file in os.listdir(path):
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; basename = os.path.splitext(os.path.basename(file))[0]
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if basename not in mlist:
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mlist.append(basename)
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if len(mlist)&amp;gt;1:
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return True
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else:
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return False
...&amp;nbsp;&amp;nbsp;&amp;nbsp; 
... 
&amp;gt;&amp;gt;&amp;gt; file_check(path)
False
&amp;gt;&amp;gt;&amp;gt; class Circle:
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; def _init_(self):
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.radius = 1
... my_circle = Circle()
... print (2 * 3.14 * my_circle.radius)
... my_circle.radius = 5
... print (2 * 3.14 * my_circle.radius)
... 
Runtime error &amp;lt;type 'exceptions.AttributeError'&amp;gt;: Circle instance has no attribute 'radius'
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is new to me and I have no ideas what is wrong in my arcpy script that was executed in my ArcGIS 10.0. Please kindly help and advise.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Scott Chang&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:23:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-doing-python-to-check-for-numbers-of/m-p/591043#M46337</guid>
      <dc:creator>ScottChang</dc:creator>
      <dc:date>2021-12-12T01:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10:Doing Python to check for numbers of files in a directory-indentation e</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-doing-python-to-check-for-numbers-of/m-p/591044#M46338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Scott,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the answer is in the Python documentation at &lt;/SPAN&gt;&lt;A href="http://docs.python.org/tutorial/classes.html" rel="nofollow noopener noreferrer" target="_blank"&gt;http://docs.python.org/tutorial/classes.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As Curtis suggested I would also recommend that you take your time working through the tutorial. Python is not a "hard" language to learn but it is still a matter of getting the concept right and understanding what the code is doing. If you are not already fluent in other coding languages it simply means that the learning process will take time. Depending on your prior coding experience it might mean that it will take a couple of weeks before you can generate code of the fly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For classes there special methods invoked throughout the lifetime of an object (an instance of a class). The method called at the creation of the object is called __init__(self[,...]). Notice the double underscores. The arguments are a reference to itself and optionally a list of arguments&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
class Circle:
&amp;nbsp;&amp;nbsp;&amp;nbsp; def __init__(self):
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.radius = 1
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;which means that at the time of Circle object creation you are adding an attribute called radius and give it the value of 1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;More commonly you might want to write your classes to be a little more flexible such that can influence the radius of the circle at the time of the creation such as:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
class Circle:
&amp;nbsp;&amp;nbsp;&amp;nbsp; def __init__(self, radius = 1):
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.radius = radius
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;which means that you can write it like&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
my_circle = Circle()&amp;nbsp; # has a radius of 1 as no explicit value was given
my_circle_2 = Circle(2) # has a radius of 2
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Thomas&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:23:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-doing-python-to-check-for-numbers-of/m-p/591044#M46338</guid>
      <dc:creator>ThomasEmge</dc:creator>
      <dc:date>2021-12-12T01:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10:Doing Python to check for numbers of files in a directory-indentation e</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-doing-python-to-check-for-numbers-of/m-p/591045#M46339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Thomas, Thanks for your nice, valuable response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am new in doing the Python-ArcPy programming. I will be very careful in picking up the pecurious skills of Python syntax.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I corrected my old arcpy script and executed it.&amp;nbsp; It worked nicely and I got the output.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried your arcpy script for the Circle class:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;gt;&amp;gt;&amp;gt; import arcpy
&amp;gt;&amp;gt;&amp;gt; import os
&amp;gt;&amp;gt;&amp;gt; import glob 
&amp;gt;&amp;gt;&amp;gt; class Circle:
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; def __init__(self):
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.radius = 1
... my_circle = Circle()
... print (2 * 3.14 * my_circle.radius)
... my_circle.radius = 5
... print (2 * 3.14 * my_circle.radius)
... 
6.28

31.4

&amp;gt;&amp;gt;&amp;gt; class Circle:
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; def __init__(self, radius = 1):
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.radius = radius
... my_circle = Circle() #has a radius of 1 as no explicit value was given
... my_circle_2 = Circle(2) # has a radius of 2
... 
&amp;gt;&amp;gt;&amp;gt; &lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think it worked too.&amp;nbsp; But I did not see the output of the 2 circles. What should I do to get the output of the 2 circles? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please kindly help, advise and respond again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Scott Chang&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:23:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-doing-python-to-check-for-numbers-of/m-p/591045#M46339</guid>
      <dc:creator>ScottChang</dc:creator>
      <dc:date>2021-12-12T01:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10:Doing Python to check for numbers of files in a directory-indentation e</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-doing-python-to-check-for-numbers-of/m-p/591046#M46340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Scott,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;my second approach with&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;def __init__(self, radius = 1):&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;is a short hand notation that allows the user to set the radius at the time of the object creation. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;radius = 1&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;means that when you create the object you can specify a value for the python attribute called radius. If you don't provide an explicit value then the __init__ method assumes that the radius has a value of 1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Essentially method 1 and method 2 yield the same result:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
# method 1
my_circle = Circle()
my_circle.radius = 2
# method 2
my_circle = Circle(2)&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If this notation is rather confusing you then don't worry about. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As a recommendation I would suggest to stay away from classes for the moment and to revisit the concept in a couple weeks when you are feeling more at home in Python.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Thomas&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:23:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-doing-python-to-check-for-numbers-of/m-p/591046#M46340</guid>
      <dc:creator>ThomasEmge</dc:creator>
      <dc:date>2021-12-12T01:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10:Doing Python to check for numbers of files in a directory-indentation e</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-doing-python-to-check-for-numbers-of/m-p/591047#M46341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Thomas,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I did few trials to print the output of your arcpy script:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;gt;&amp;gt;&amp;gt; my_circle
&amp;lt;__main__.Circle instance at 0x302221E8&amp;gt;
&amp;gt;&amp;gt;&amp;gt; my_circle_2
&amp;lt;__main__.Circle instance at 0x30222148&amp;gt;
&amp;gt;&amp;gt;&amp;gt; print my_circle
&amp;lt;__main__.Circle instance at 0x302221E8&amp;gt;

&amp;gt;&amp;gt;&amp;gt; return my_circle
Runtime error &amp;lt;type 'exceptions.SyntaxError'&amp;gt;: 'return' outside function (&amp;lt;string&amp;gt;, line 1)
&amp;gt;&amp;gt;&amp;gt; return 'my_circle'
Runtime error &amp;lt;type 'exceptions.SyntaxError'&amp;gt;: 'return' outside function (&amp;lt;string&amp;gt;, line 1)
&amp;gt;&amp;gt;&amp;gt; print (my_circle)
&amp;lt;__main__.Circle instance at 0x302221E8&amp;gt;

&amp;gt;&amp;gt;&amp;gt; print (Circle())
&amp;lt;__main__.Circle instance at 0x30222120&amp;gt;

&amp;gt;&amp;gt;&amp;gt; print (2 * 3.14 * my_circle)
Runtime error &amp;lt;type 'exceptions.TypeError'&amp;gt;: unsupported operand type(s) for *: 'float' and 'instance'
&amp;gt;&amp;gt;&amp;gt; print (2 * 3.14 * my_circle_2)
Runtime error &amp;lt;type 'exceptions.TypeError'&amp;gt;: unsupported operand type(s) for *: 'float' and 'instance'
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I cannot get the decent output.&amp;nbsp; Please tell me how I can get the output of your methods.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Scott Chang&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:23:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-doing-python-to-check-for-numbers-of/m-p/591047#M46341</guid>
      <dc:creator>ScottChang</dc:creator>
      <dc:date>2021-12-12T01:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10:Doing Python to check for numbers of files in a directory-indentation e</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-doing-python-to-check-for-numbers-of/m-p/591048#M46342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I see.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Take a look at the first line you have typed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;gt;&amp;gt;&amp;gt; my_circle
&amp;lt;__main__.Circle instance at 0x302221E8&amp;gt;
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What this line is telling that 'my_circle' is an instance of the Circle class living at address location 0x302221E8. That is it - nothing more or less. The notion of a class is following the principles of object-oriented programming and again is not really something I would recommend to a beginner. You can google/bing/yahoo "object-oriented principles" but the findings are probably more confusing than helpful right now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How does the Python line help you right now? Not at all.....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You want to find out what this 'my_circle' thing really is and the Python way to do that is &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;gt;&amp;gt;&amp;gt; dir(my_circle)
['__doc__', '__init__', '__module__', 'radius']
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Python dir() function will tell you more an object, its attributes and methods.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For 'my_circle' you can see that there built-in functions like __doc__, __init__, __module__ and you also find the class attribute radius. In order to find the radius of the my_circle objects you would write&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;gt;&amp;gt;&amp;gt; print my_circle.radius
1
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Again my recommendation would be: don't use the class syntax -- it is over-engineering the problem. Keep it simple and use variables as of now such that:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
myCircleRadius = 2
myCircleCircumference = 2 * 3.14 * myCircleRadius
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Thomas&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:23:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-doing-python-to-check-for-numbers-of/m-p/591048#M46342</guid>
      <dc:creator>ThomasEmge</dc:creator>
      <dc:date>2021-12-12T01:23:21Z</dc:date>
    </item>
  </channel>
</rss>

