<meta http-equiv="content-type" content="text/html; charset=utf-8">Actually came back with some feedback to my own question.<div><br></div><div><div>The following repositories do the job:</div><div><br></div><div><font class="Apple-style-span" face="'courier new', monospace"># /etc/apt/sources.list</font></div>

<div><font class="Apple-style-span" face="'courier new', monospace">deb <a href="http://ftp.uk.debian.org/debian/">http://ftp.uk.debian.org/debian/</a> unstable main contrib non-free</font></div><div><font class="Apple-style-span" face="'courier new', monospace">deb <a href="http://ftp.uk.debian.org/debian/">http://ftp.uk.debian.org/debian/</a> experimental main contrib non-free</font></div>

<div><font class="Apple-style-span" face="'courier new', monospace">deb <a href="http://security.debian.org/">http://security.debian.org/</a> testing/updates main contrib</font></div><div><font class="Apple-style-span" face="'courier new', monospace"><br>

</font></div><div><font class="Apple-style-span" face="'courier new', monospace">$ apt-get update</font></div><div><font class="Apple-style-span" face="'courier new', monospace">$ apt-get install python2.7</font></div>

<div><font class="Apple-style-span" face="'courier new', monospace">$ python --version</font></div><div><font class="Apple-style-span" face="'courier new', monospace"><div>Python 2.6.6</div><div>$ python2.7 --version</div>

<div><div>Python 2.7.1+</div></div><div><br></div></font></div><div><font class="Apple-style-span" face="'courier new', monospace">If you need 2.7 as default runtime:</font></div><div><font class="Apple-style-span" face="'courier new', monospace"><br>

</font></div><div><font class="Apple-style-span" face="'courier new', monospace">$ update-alternatives --install /usr/bin/python python /usr/bin/python2.7 10</font></div><div><font class="Apple-style-span" face="'courier new', monospace"><br>

</font></div><div><font class="Apple-style-span" face="'courier new', monospace">This is the first time I need two Python instances, so might helpful for someone in the same position. Any further help feel free to reply.</font></div>

<div><font class="Apple-style-span" face="'courier new', monospace"><br></font></div><div><font class="Apple-style-span" face="'courier new', monospace">Cheers.</font></div><div><br></div><div><div class="gmail_quote">

On Thu, May 12, 2011 at 11:27 AM, Jorge Romero <span dir="ltr"><<a href="mailto:jorgeromero178@gmail.com">jorgeromero178@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hi all,<div><br></div><div>My machine is running Debian Squeeze so my default Python runtime is 2.6.6.</div><div><br></div><div>According to Python docs <b><i>optparse</i></b> library is deprecated and the development will be moved to <b><i>argparse</i></b>, which is new in Python 2.7.1. So now that I'm about to write a script that parse command line arguments thought would be a good idea to do the transition right now, besides the good comments about this version.</div>


<div><br></div><div>I tried Googling about Python 2.7 on Debian Squeeze, but did not find anything but discussions -.-. Anyone out there that can point me some helpful material or anyone who had luck running 2.7 on Debian? </div>


<div><br></div><div>Thanks in advanced.<br clear="all"><br>-- <br>Jorge Romero<br><br>
</div>
</blockquote></div><br><br clear="all"><br>-- <br>Jorge Romero<br><br>
</div></div>