<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>www.unnionline.com &#187; Python</title>
	<atom:link href="http://www.unnionline.com/blog/category/python/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.unnionline.com/blog</link>
	<description></description>
	<lastBuildDate>Wed, 30 Nov 2011 11:49:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>Installing LibSBML on Ubuntu</title>
		<link>http://www.unnionline.com/blog/2011/11/installing-libsbml-on-ubuntu/</link>
		<comments>http://www.unnionline.com/blog/2011/11/installing-libsbml-on-ubuntu/#comments</comments>
		<pubDate>Wed, 30 Nov 2011 11:47:25 +0000</pubDate>
		<dc:creator>cbaunni</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.unnionline.com/blog/?p=276</guid>
		<description><![CDATA[- first, install all the]]></description>
			<content:encoded><![CDATA[<p>- first, install all the necessary packages:</p>
<p><code> aptitude install build-essential libxml2 libxml2-dev python-dev </code></p>
<p>- then configure, make and install libsbml:</p>
<p><code>./configure ––with-python </code> (execute from the directory where the downloaded libsbml archive was extracted to)<br />
<code>make</code><br />
<code>make install</code><br />
<code>ldconfig</code></p>
<p>- then check if installation was successful:<br />
<code>python</code><br />
and when the python prompt >>> appears, run from libsbml import * – if there are no warnings/errors, then you are done!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.unnionline.com/blog/2011/11/installing-libsbml-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing MoinMoin 1.9 on Ubuntu</title>
		<link>http://www.unnionline.com/blog/2011/04/installing-moinmoin-1-9-on-ubuntu/</link>
		<comments>http://www.unnionline.com/blog/2011/04/installing-moinmoin-1-9-on-ubuntu/#comments</comments>
		<pubDate>Tue, 19 Apr 2011 09:58:28 +0000</pubDate>
		<dc:creator>cbaunni</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[MoinMoin]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.unnionline.com/blog/?p=136</guid>
		<description><![CDATA[This series about MoinMoin is]]></description>
			<content:encoded><![CDATA[<p>This series about <a href="http://moinmo.in" target="_blank">MoinMoin</a> is something that is long overdue. Everything you need to know about installing and configuring MoinMoin (from here on we call it MM) is well documented at the above link and also on numerous blogs. Why do I write this article then? The following will distinguish my articles on MM with others on the net.</p>
<ul>
<li> The workflow described here is optimised towards backup and security</li>
<li> This workflow reduces administration tasks during future server migrations</li>
</ul>
<p>Note that these articles explain the workflow I follow. There are of course many other ways to approach the same problem. Please do let me know if you have a better method.</p>
<p><strong>Software Required</strong></p>
<p><strong>MoinMoin Version</strong><br />
At the time of writing this, the latest stable version of MM is 1.9.3. However, you can adopt the methods described here on previous versions as well. If you are new to MM, there is less chance of you noticing any differences between the recent versions.<br />
<strong>Platforms</strong><br />
I have been using this appoach on Ubuntu 8.04 LTS (Hardy Heron) onwards. Currently, I have <a href="http://www.ubuntu.com" target="_blank">Ubuntu 10.04 LTS</a> (Lucid Lynx).<br />
<strong>Requirements</strong><br />
Have a look at <a href="http://moinmo.in/MoinMoinDependencies" target="_blank">this</a> link on MM website to have a list of dependencies for different versions.</p>
<p>Articles in this series will be describing MoinMoin 1.9.3 on Ubuntu 10.04 LTS. However, I would like to reiterate the point that you can use it on other combinations as well.</p>
<p><strong>Installation</strong><br />
The actual installation of MM on Ubuntu is as simple as typing the following code:</p>
<p><code>sudo apt-get install python2.4-moinmoin</code></p>
<p>This will install MM at /usr/share/moin/ and the config files will be stored at /etc/moin/. The issue with installing at this location is that most of us dont normally backup /usr/share/. Personally, I prefer to keep all such important applications under /usr/local/applications/ directory. I take particular care to make regular backup of my /usr/local/ directory. This way the only thing I have to do in case of a server crash of some sort is to restore this directory. So, how do we install MM to /usr/local/applications? </p>
<ul>
<li> Download MM from <a href="http://moinmo.in/MoinMoinDownload">here</a></li>
<li> Extract using tar as follows<br />
        <code> tar xvzf moin-x.x.x.tar.gz </code></li>
<li> Navigate to the directory where you extracted MM</li>
<li> Install MM using:<br />
        <code>python setup.py install --force --record=install.log --prefix='/usr/local/applications' --install-data='/usr/local/www/template</code><br />
        where:<br />
        &#8211;force = To overwrite outdated files in the destination (not needed in this case).<br />
        &#8211;record = This is the install log. Keep this safe, just in case.<br />
        &#8211;prefix = Our installation location. This is where our MM installation is now located.<br />
        &#8211;install-data = This where we are going to keep our MoinMoin instance. Read my second post in this series to see what we do with this directory.</li>
</ul>
<p>Great! we have MoinMoin installed on our server. In my next post I will explain how to get our first wiki on the internet. All the above information is explained in much more detail in the MM website and also on  the install.html file that comes with the MM download. But then, you wont be reading this if you have read those documents!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.unnionline.com/blog/2011/04/installing-moinmoin-1-9-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Basic Gnuplot Tutorial &#8211; I</title>
		<link>http://www.unnionline.com/blog/2008/12/basic-gnuplot-tutorial-i/</link>
		<comments>http://www.unnionline.com/blog/2008/12/basic-gnuplot-tutorial-i/#comments</comments>
		<pubDate>Fri, 05 Dec 2008 19:14:42 +0000</pubDate>
		<dc:creator>cbaunni</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[Gnuplot]]></category>
		<category><![CDATA[Plotting]]></category>
		<category><![CDATA[python-gnuplot]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.unnionline.com/blog/?p=30</guid>
		<description><![CDATA[This tutorial uses Ubuntu Heron,]]></description>
			<content:encoded><![CDATA[<p>This tutorial uses Ubuntu Heron, Python 2.5, python-gnuplot 1.8-1</p>
<p><code>from Numeric import *<br />
import Gnuplot</code><br />
<code><br />
g = Gnuplot.Gnuplot()<br />
</code><br />
<code># generate x, y data to plot<br />
x = arange(10, typecode=Float)<br />
y = x**2<br />
</code><br />
<code># convert to a form that the gnuplot interface can deal with<br />
d = Gnuplot.Data(x, y, title='data from python')</code></p>
<p><code>g.xlabel('x')<br />
g.ylabel('x^2')                           # looks nice in the postscript</code></p>
<p><code>g.plot(d)                        # actually plot the data</code></p>
<p><code># To Save as postscript.  The enhanced=1 is to handle the x^2 in the xlabel.<br />
# Use eps=1 to produce encapsulated postscript.<br />
g.hardcopy('gp_test.ps', enhanced=1, color=1)<br />
raw_input('Saved as gp_test.ps ; please press return to continue...\n')</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.unnionline.com/blog/2008/12/basic-gnuplot-tutorial-i/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

