<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Comments on snippet: 'Import a file from a directory'</title>
    <description>Snipplr comments feed</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Mon, 06 Apr 2026 13:50:30 +0000</lastBuildDate>
    <item>
      <title>rob_cowie said on 24/Jan/2009</title>
      <link>https://snipplr.com/view/11212/import-a-file-from-a-directory</link>
      <description>&lt;p&gt;If you want to ensure that the module you are targeting is imported and not any other module on the PYTHONPATH with the same name, add the directory to the start of the sys.path list with &#13;
&#13;
    sys.path.insert(0, './markdown-1.7')&lt;/p&gt;</description>
      <pubDate>Sat, 24 Jan 2009 09:11:09 UTC</pubDate>
      <guid>https://snipplr.com/view/11212/import-a-file-from-a-directory</guid>
    </item>
  </channel>
</rss>
