Re: [BangPypers] executing shell commands through python script

2012-08-13 Thread briji...@gmail.com
try this. http://docs.python.org/library/commands.html Regards, Brijith P On Tue, Aug 14, 2012 at 3:15 AM, Vikram K wrote: > i am able to run the following command from the shell (i am working on Mac > Snow Leopard): > > cgatools evidence2sam --beta --evidence-dnbs > evidenceDnbs-chr11-GS1

Re: [BangPypers] Creating a blog in Django 1.3 Screencasts

2012-03-07 Thread briji...@gmail.com
Nice screen Casts Thank U * Regards, Brijith P * * * On Wed, Mar 7, 2012 at 8:19 PM, Arun Ravindran wrote: > Hi all, > > Every since Django moved to 1.0, there have been very few screencasts about > Django. It is quite hard for a beginner or even someone who has used Django > to find a video

Re: [BangPypers] python SVN delete functionality

2011-06-22 Thread briji...@gmail.com
@Shashidhar * * You mean the *svn delete* must work when you *svn update?. *Yes we can do it. but its a tricky way. What I suggest is to create a shell/python script named *svn *and put in higher path hierarchy (for example /usr/local/bin). In side the script you code like if its ran w

Re: [BangPypers] How to handle files efficiently in python

2011-03-22 Thread briji...@gmail.com
* Regrads, Brijith P **NuCore Software Solutions Pvt Ltd* *Mobile: +91 8089703840* Url: *www.nucoreindia.com* <http://www.nucoreindia.com> Email: *brij...@nucoreindia.com* On 23 March 2011 10:31, Gora Mohanty wrote: > On Wed, Mar 23, 2011 at 10:15 AM, briji...@gmail.com > w

Re: [BangPypers] How to handle files efficiently in python

2011-03-22 Thread briji...@gmail.com
Hi, I too answered this way to this question. I thought there may be some other efficient way to handle this situation. * Regrads, Brijith P * On 22 March 2011 22:19, Noufal Ibrahim wrote: > On Tue, Mar 22 2011, briji...@gmail.com wrote: > > > Hi All, > > Ho

[BangPypers] How to handle files efficiently in python

2011-03-22 Thread briji...@gmail.com
Hi All, How can I print last five lines of a file using python. The file may contain thousands of lines each line may differ in length. * Regrads, Brijith P * * * ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/