<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Thanks to antville.org</title>
    <link>https://oksoft.antville.org/</link>
    <description>Adding Value with limited resources</description>
    <language>en</language>
    <pubDate>Wed, 17 Jun 2026 19:13:38 GMT</pubDate>
    <dc:date>2026-06-17T19:13:38Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>python module itertools</title>
      <link>https://oksoft.antville.org/stories/2300689/</link>
      <description>&lt;p&gt;list of useful methods of itertools module.&lt;/p&gt;&lt;p&gt;permutationscombinationscombinations_with_replacementzip_longestcountrepeatcycleaccumulateproductgroupbyteeisslicechainchain.from_iterablefilterfalsedropwhile&lt;/p&gt;&lt;p&gt;&lt;a href="https://realpython.com/python-itertools/"&gt;realpython.com&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 08 Sep 2021 07:50:09 GMT</pubDate>
      <guid>https://oksoft.antville.org/stories/2300689/</guid>
      <dc:creator>shantanuo</dc:creator>
      <dc:date>2021-09-08T07:50:09Z</dc:date>
    </item>
    <item>
      <title>program creek</title>
      <link>https://oksoft.antville.org/stories/2288599/</link>
      <description>&lt;p&gt;program creek seems to be a good site for handy references of python modules. For e.g. when I wanted to know how to use Stratified Shuffle module, the examples shown on this page were very useful.&lt;/p&gt;&lt;p&gt;&lt;a href="https://www.programcreek.com/python/example/91149/sklearn.model_selection.StratifiedShuffleSplit"&gt;www.programcreek.com&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Sat, 11 Apr 2020 11:24:15 GMT</pubDate>
      <guid>https://oksoft.antville.org/stories/2288599/</guid>
      <dc:creator>shantanuo</dc:creator>
      <dc:date>2020-04-11T11:24:15Z</dc:date>
    </item>
    <item>
      <title>Standard out to a file</title>
      <link>https://oksoft.antville.org/stories/2288598/</link>
      <description>&lt;p&gt;This code will change the standard out to a file so that jupyter notebook cell's responses are saved to a file.&lt;/p&gt;&lt;p&gt;import sysoldStdout = sys.stdoutfile = open('logFile', 'w')sys.stdout = file&lt;/p&gt;</description>
      <pubDate>Sat, 11 Apr 2020 11:18:11 GMT</pubDate>
      <guid>https://oksoft.antville.org/stories/2288598/</guid>
      <dc:creator>shantanuo</dc:creator>
      <dc:date>2020-04-11T11:18:11Z</dc:date>
    </item>
    <item>
      <title>ipython parallel demo</title>
      <link>https://oksoft.antville.org/stories/2285307/</link>
      <description>&lt;p&gt;First start ipython in cluster mode&lt;/p&gt;&lt;p&gt;ipcluster start -n 4&lt;/p&gt;&lt;p&gt;from IPython.parallel import Clientrc = Client()v=rc.load_balanced_view()@v.parallel(block=True)def f(x): return 2*xresult = f.map(range(10))print(&amp;quot;Using a parallel function: &amp;quot;, result)&lt;/p&gt;</description>
      <pubDate>Sun, 09 Feb 2020 09:02:12 GMT</pubDate>
      <guid>https://oksoft.antville.org/stories/2285307/</guid>
      <dc:creator>shantanuo</dc:creator>
      <dc:date>2020-02-09T09:02:12Z</dc:date>
    </item>
    <item>
      <title>djanog settings</title>
      <link>https://oksoft.antville.org/stories/2285300/</link>
      <description>&lt;p&gt;You may see this message if you have DEBUG = True in your Django settings file and you haven't configured any URLs.&lt;/p&gt;&lt;p&gt;django-admin.py startproject todo&lt;/p&gt;&lt;p&gt;python manage.py runserver localhost:8000&lt;/p&gt;&lt;p&gt;$$   If you plan to use a database, edit the DATABASES setting in todo/settings.py.python manage.py startapp todoapp&lt;/p&gt;&lt;p&gt;$$ syncdb and flush are other 2 parameters accepted by manage.py&lt;/p&gt;</description>
      <pubDate>Sun, 09 Feb 2020 04:07:00 GMT</pubDate>
      <guid>https://oksoft.antville.org/stories/2285300/</guid>
      <dc:creator>shantanuo</dc:creator>
      <dc:date>2020-02-09T04:07:00Z</dc:date>
    </item>
    <item>
      <title>14 days ago</title>
      <link>https://oksoft.antville.org/stories/2283385/</link>
      <description>&lt;p&gt;This is the python way of calculating the date that is 14 days ago.&lt;/p&gt;&lt;p&gt;import datetime(datetime.datetime.now() - datetime.timedelta(days = 14)).date()&lt;/p&gt;&lt;p&gt;And this is pandas way of getting the same results:&lt;/p&gt;&lt;p&gt;import pandas as pd(pd.datetime.today() - pd.offsets.Day(14)).floor('D')&lt;/p&gt;</description>
      <pubDate>Tue, 14 Jan 2020 14:26:42 GMT</pubDate>
      <guid>https://oksoft.antville.org/stories/2283385/</guid>
      <dc:creator>shantanuo</dc:creator>
      <dc:date>2020-01-14T14:26:42Z</dc:date>
    </item>
    <item>
      <title>Install java within conda container</title>
      <link>https://oksoft.antville.org/stories/2277918/</link>
      <description>&lt;p&gt;apt-get update &amp;amp;&amp;amp; apt-get upgrade&lt;br /&gt;mkdir -p /usr/share/man/man1apt-get install default-jdkapt install openjdk-11-jdk&lt;/p&gt;</description>
      <pubDate>Fri, 20 Sep 2019 10:40:21 GMT</pubDate>
      <guid>https://oksoft.antville.org/stories/2277918/</guid>
      <dc:creator>shantanuo</dc:creator>
      <dc:date>2019-09-20T10:40:21Z</dc:date>
    </item>
    <item>
      <title>python itertools module</title>
      <link>https://oksoft.antville.org/stories/2271201/</link>
      <description>&lt;p&gt;from itertools import groupbys = 'abcccccbba'&lt;/p&gt;&lt;p&gt;for w, v in groupby(s):print (''.join(w), ''.join(v))&lt;/p&gt;&lt;p&gt;a ab bc cccccb bba a&lt;/p&gt;</description>
      <pubDate>Sun, 17 Mar 2019 13:22:26 GMT</pubDate>
      <guid>https://oksoft.antville.org/stories/2271201/</guid>
      <dc:creator>shantanuo</dc:creator>
      <dc:date>2019-03-17T13:22:26Z</dc:date>
    </item>
    <item>
      <title>google module</title>
      <link>https://oksoft.antville.org/stories/2268898/</link>
      <description>&lt;p&gt;module for google search&lt;/p&gt;&lt;p&gt;!pip install google&lt;/p&gt;&lt;p&gt;from googlesearch import searchfor url in search('&amp;quot;Breaking Code&amp;quot; WordPress blog', stop=10):print(url)&lt;/p&gt;</description>
      <pubDate>Tue, 08 Jan 2019 08:38:49 GMT</pubDate>
      <guid>https://oksoft.antville.org/stories/2268898/</guid>
      <dc:creator>shantanuo</dc:creator>
      <dc:date>2019-01-08T08:38:49Z</dc:date>
    </item>
    <item>
      <title>Extract words from Marathi wikipedia</title>
      <link>https://oksoft.antville.org/stories/2266974/</link>
      <description>&lt;ol&gt;&lt;li&gt;&lt;p&gt;Download the polyglot pickled marathi modelwget &lt;a href="http://bit.ly/12FI1xV"&gt;bit.ly&lt;/a&gt;mv 12FI1xV polyglot-mt.pkl&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Extract all the words from the embedding&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;from polyglot.mapping import Embeddingembeddings=Embedding.load(&amp;quot;polyglot-mt.pkl&amp;quot;)with open('myfile.txt', 'w') as fx:for i in embeddings.vocabulary:fx.write(i.encode('utf-8')+'\n')&lt;/p&gt;&lt;ol start="3"&gt;&lt;li&gt;Download the wordlist:&lt;a href="https://s3.amazonaws.com/gamabhana/wiki_wordlist.txt"&gt;s3.amazonaws.com&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;</description>
      <pubDate>Sun, 04 Nov 2018 08:06:09 GMT</pubDate>
      <guid>https://oksoft.antville.org/stories/2266974/</guid>
      <dc:creator>shantanuo</dc:creator>
      <dc:date>2018-11-04T08:06:09Z</dc:date>
    </item>
  </channel>
</rss>

