<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Коментарі до Найпростіша plugin-архітектура на python</title>
	<atom:link href="http://graywolf.org.ua/2007/12/20/%d0%bd%d0%b0%d0%b9%d0%bf%d1%80%d0%be%d1%81%d1%82%d1%96%d1%88%d0%b0-plugin-%d0%b0%d1%80%d1%85%d1%96%d1%82%d0%b5%d0%ba%d1%82%d1%83%d1%80%d0%b0-%d0%bd%d0%b0-python/feed/" rel="self" type="application/rss+xml" />
	<link>http://graywolf.org.ua/2007/12/20/%d0%bd%d0%b0%d0%b9%d0%bf%d1%80%d0%be%d1%81%d1%82%d1%96%d1%88%d0%b0-plugin-%d0%b0%d1%80%d1%85%d1%96%d1%82%d0%b5%d0%ba%d1%82%d1%83%d1%80%d0%b0-%d0%bd%d0%b0-python/</link>
	<description>Inhuman being&#039;s diary...</description>
	<lastBuildDate>Tue, 29 May 2012 17:44:42 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>Від: TheBlackRavan</title>
		<link>http://graywolf.org.ua/2007/12/20/%d0%bd%d0%b0%d0%b9%d0%bf%d1%80%d0%be%d1%81%d1%82%d1%96%d1%88%d0%b0-plugin-%d0%b0%d1%80%d1%85%d1%96%d1%82%d0%b5%d0%ba%d1%82%d1%83%d1%80%d0%b0-%d0%bd%d0%b0-python/comment-page-1/#comment-8920</link>
		<dc:creator>TheBlackRavan</dc:creator>
		<pubDate>Fri, 15 Aug 2008 16:30:40 +0000</pubDate>
		<guid isPermaLink="false">http://graywolf.org.ua/2007/12/20/%d0%bd%d0%b0%d0%b9%d0%bf%d1%80%d0%be%d1%81%d1%82%d1%96%d1%88%d0%b0-plugin-%d0%b0%d1%80%d1%85%d1%96%d1%82%d0%b5%d0%ba%d1%82%d1%83%d1%80%d0%b0-%d0%bd%d0%b0-python/#comment-8920</guid>
		<description>Лучше сделать так.
def LoadPlugins(pluginpath):  
    # enum plugins directory  
    for dir in os.listdir(pluginpath + &quot;\\plugins&quot;):  
        # for each non-hidden file or directory  
        &lt;strong&gt;if (dir[0] != &quot;_&quot;) and (dir.endswith (&quot;.py&quot;)):&lt;/strong&gt;  
            # try to load corresponding plugin  
            LoadModule(dir)</description>
		<content:encoded><![CDATA[<p>Лучше сделать так.<br />
def LoadPlugins(pluginpath):<br />
    # enum plugins directory<br />
    for dir in os.listdir(pluginpath + &#8220;\\plugins&#8221;):<br />
        # for each non-hidden file or directory<br />
        <strong>if (dir[0] != &#8220;_&#8221;) and (dir.endswith (&#8220;.py&#8221;)):</strong><br />
            # try to load corresponding plugin<br />
            LoadModule(dir)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.271 seconds -->

