<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet href="http://www.pythonblogs.com/styles/rss.css" type="text/css"?>
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>
 <channel>
  <title>AI</title>
  <link>http://ai.pythonblogs.com/14_ai</link>
  <description>&lt;p&gt;This is a blog which welcomes everybody around the world to come to this place, share your views, experience, resources or anything else that relates to scientific, technical , academic, industrial , educational or research (R&amp;D) world. Feel free to relate any of your experiences, story or anything related to your career or interests. You may also ask any questions you feel like asking here, and the most sincere efforts to get your query answered will be made. This blog is a starter as of yet. Please help by helping to expand it.&lt;/p&gt;
</description>
  <pubDate>Mon, 22 Feb 2010 13:29:35 -0800</pubDate>
  <generator>http://www.lifetype.net</generator>
    <item>
   <title>An elementary Python data compression question</title>
   <description>
    &lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;http://ai.pythonblogs.com/plugins/plogeshi/styles/plogeshi.css&quot; /&gt;&lt;p&gt;
&lt;span style=&quot;color: #0000ff&quot;&gt;Hi all,&lt;br /&gt;
Though I don&#039;t work in data compression, but for learning
purpose only I ran a program very similar to the one given in version
specific tutorial from &lt;a href=&quot;http://www.python.org/&quot; target=&quot;_blank&quot;&gt;www.python.org&lt;/a&gt;.&amp;nbsp; (ch 11, tut.pdf). The two programs are:&lt;/span&gt;&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span style=&quot;color: #800080&quot;&gt;PROGRAM 1&lt;/span&gt;
&lt;/p&gt;
&lt;pre style=&quot;margin-top: 0pt; display: inline&quot;&gt;
&lt;span style=&quot;color: #ff0000&quot;&gt;&lt;strong&gt;import zlib
s = &amp;quot;witch which has which witches wrist watch&amp;quot;
print &amp;quot;Original String is ::%s:: and length of the string is ::%d::&amp;quot; %(s,len(s))
t = zlib.compress(s)
print &amp;quot;Compressed String is ::%s:: and length of the string is ::%d::&amp;quot; %(t,len(t))
print &amp;quot;Decompressed String is ::%s:: and length of the decompressed string is ::%d::&amp;quot; %(zlib.decompress(t),len(zlib.decompress(t)))&lt;/strong&gt;&lt;/span&gt;
&lt;/pre&gt;
&lt;p&gt;
&lt;span style=&quot;color: #800080&quot;&gt;PROGRAM 2&lt;/span&gt;
&lt;/p&gt;
&lt;pre style=&quot;margin-top: 0pt; display: inline&quot;&gt;
&lt;span style=&quot;color: #ff0000&quot;&gt;&lt;strong&gt;import zlib
s = &amp;quot;witch which has which witches wrist watch&amp;quot;
print &amp;quot;Original String is ::%s:: and length of the string is ::%d::&amp;quot; %(s,len(s))
t = zlib.compress(s)
print &amp;quot;Compressed String is ::%s:: and length of the string is ::%d::&amp;quot; %(t,len(t))
print &amp;quot;Decompressed String is ::%s:: and length of the decompressed string is ::%d::&amp;quot; %(zlib.decompress(t),len(zlib.decompress(t)))&lt;/strong&gt;&lt;/span&gt;
&lt;/pre&gt;
&lt;p&gt;
&lt;span style=&quot;color: #0000ff&quot;&gt;Now the problem is that:&lt;br /&gt;
in program2, the &#039;len(t)&#039;, i.e. length of
the compressed string is greater than length of the original string!!!
In program 1, this &#039;apparent anomaly&#039; doesn&#039;t occur, and this is the
string used in the python.org tutorial.&lt;br /&gt;
&lt;br /&gt;
Can anybody provide an
explanation? At this point, I don&#039;t want to read a few hundred pages on
data compression to find out the answer.&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
Thanks in advance,&lt;br /&gt;
Abhishek Pathak.
&lt;/p&gt;
   </description>
   <link>http://ai.pythonblogs.com/14_ai/archive/70_an_elementary_python_data_compression_question.html</link>
   <comments>http://ai.pythonblogs.com/14_ai/archive/70_an_elementary_python_data_compression_question.html</comments>
   <guid>http://ai.pythonblogs.com/14_ai/archive/70_an_elementary_python_data_compression_question.html</guid>
      <dc:creator>aisci</dc:creator>
      
    <category>General</category>
         <pubDate>Sun, 03 May 2009 20:21:16 +0600</pubDate>
   <source url="http://ai.pythonblogs.com/14_ai/feeds/rss20">AI</source>
     </item>
    <item>
   <title>Check out those Python scritpts (new!)</title>
   <description>
    &lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;http://ai.pythonblogs.com/plugins/plogeshi/styles/plogeshi.css&quot; /&gt;&lt;p&gt;
Hi everybody,
&lt;/p&gt;
&lt;p&gt;
I have uploade&amp;nbsp;some of my early python scripts. Go&amp;nbsp;to&amp;nbsp;the album called &#039;Python scripts&#039; to&amp;nbsp;get more details.
&lt;/p&gt;
&lt;p&gt;
Will write again soon,
&lt;/p&gt;
&lt;p&gt;
Bye.&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
   </description>
   <link>http://ai.pythonblogs.com/14_ai/archive/32_check_out_those_python_scritpts_new.html</link>
   <comments>http://ai.pythonblogs.com/14_ai/archive/32_check_out_those_python_scritpts_new.html</comments>
   <guid>http://ai.pythonblogs.com/14_ai/archive/32_check_out_those_python_scritpts_new.html</guid>
      <dc:creator>aisci</dc:creator>
      
    <category>General</category>
         <pubDate>Sun, 03 Aug 2008 22:38:59 +0600</pubDate>
   <source url="http://ai.pythonblogs.com/14_ai/feeds/rss20">AI</source>
     </item>
    <item>
   <title>Hello, check out a few AI and Robotics photos I have uploaded</title>
   <description>
    &lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;http://ai.pythonblogs.com/plugins/plogeshi/styles/plogeshi.css&quot; /&gt;&lt;p&gt;
Hi,
&lt;/p&gt;
&lt;p&gt;
I have uploaded some images related to AI and Robotics. I may sometimes later on upload some of the images I used durin my R&amp;amp;D projects on Image Processing.
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
Till then, enjoy these, and leave some comments regarding how you liked the collection, and whether you would like to see more such stuff here.
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
Bye.&amp;nbsp;
&lt;/p&gt;
   </description>
   <link>http://ai.pythonblogs.com/14_ai/archive/28_hello_check_out_a_few_ai_and_robotics_photos_i_have_uploaded.html</link>
   <comments>http://ai.pythonblogs.com/14_ai/archive/28_hello_check_out_a_few_ai_and_robotics_photos_i_have_uploaded.html</comments>
   <guid>http://ai.pythonblogs.com/14_ai/archive/28_hello_check_out_a_few_ai_and_robotics_photos_i_have_uploaded.html</guid>
      <dc:creator>aisci</dc:creator>
      
    <category>General</category>
         <pubDate>Sat, 19 Jul 2008 14:09:04 +0600</pubDate>
   <source url="http://ai.pythonblogs.com/14_ai/feeds/rss20">AI</source>
     </item>
    <item>
   <title>Welcome to one and all</title>
   <description>
    &lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;http://ai.pythonblogs.com/plugins/plogeshi/styles/plogeshi.css&quot; /&gt;&lt;p&gt;
Hello everybody,
&lt;/p&gt;
&lt;p&gt;
Welcome to all : This is a community to discuss all you need to discuss on Science, Artificial Intelligence, Computer Science, Engineering, Technology, and of course, Python.
&lt;/p&gt;
&lt;p&gt;
Bye.&amp;nbsp;
&lt;/p&gt;
   </description>
   <link>http://ai.pythonblogs.com/14_ai/archive/27_welcome_to_one_and_all.html</link>
   <comments>http://ai.pythonblogs.com/14_ai/archive/27_welcome_to_one_and_all.html</comments>
   <guid>http://ai.pythonblogs.com/14_ai/archive/27_welcome_to_one_and_all.html</guid>
      <dc:creator>aisci</dc:creator>
      
    <category>General</category>
         <pubDate>Sat, 19 Jul 2008 13:22:12 +0600</pubDate>
   <source url="http://ai.pythonblogs.com/14_ai/feeds/rss20">AI</source>
     </item>
    <item>
   <title>Congratulations!</title>
   <description>
    &lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;http://ai.pythonblogs.com/plugins/plogeshi/styles/plogeshi.css&quot; /&gt;If you can read this post, it means that the registration process was successful and that you can start blogging
   </description>
   <link>http://ai.pythonblogs.com/14_ai/archive/26_congratulations.html</link>
   <comments>http://ai.pythonblogs.com/14_ai/archive/26_congratulations.html</comments>
   <guid>http://ai.pythonblogs.com/14_ai/archive/26_congratulations.html</guid>
      <dc:creator>aisci</dc:creator>
      
    <category>General</category>
         <pubDate>Fri, 18 Jul 2008 21:21:19 +0600</pubDate>
   <source url="http://ai.pythonblogs.com/14_ai/feeds/rss20">AI</source>
     </item>
   </channel>
</rss>