Re: [BangPypers] biopython

2010-06-14 Thread Srinivas Reddy Thatiparthy
Haha... We don't have internet(usually), i manually typed it thinking something else. it usually happens with us programmers. Regards, Srini T. --The real failure is failing to try for success. ___ BangPypers mailing list BangPypers@python.org http://m

Re: [BangPypers] biopython

2010-06-14 Thread Jeffrey Jose
*I'm still waiting* to get that page open. On Tue, Jun 15, 2010 at 10:28 AM, Senthil Kumaran wrote: > On Tue, Jun 15, 2010 at 09:46:14AM +0530, Srinivas Reddy Thatiparthy wrote: > > point your browser to www://docs.python.org. > > > > Just a fun nit-pick. Seems to be a fun protocol to me. :) > >

Re: [BangPypers] biopython

2010-06-14 Thread Senthil Kumaran
On Tue, Jun 15, 2010 at 09:46:14AM +0530, Srinivas Reddy Thatiparthy wrote: > point your browser to www://docs.python.org. > Just a fun nit-pick. Seems to be a fun protocol to me. :) -- Senthil � muito simples ser s�bio. Basta pensar em uma coisa est�pida e n�o fal�-la. --Sam L

Re: [BangPypers] biopython

2010-06-14 Thread Srinivas Reddy Thatiparthy
>i am still waiting for some help. You seem to be posting question after question with out even trying to solve them( i can count 10 in three or four days on varying topics) in Bangpypers and comp.lang.python,literally spamming these lists.You better learn basics first , grab a book of "Lea

Re: [BangPypers] file handling

2010-06-14 Thread Sridhar Ratnakumar
On Mon, Jun 14, 2010 at 2:48 AM, Supreet Sethi wrote: > On Mon, 2010-06-14 at 11:48 +0530, madhuri vio wrote: >> a = open("human","rb") >> print a.readlines() >> >> this is the code i have >> written to read a text file but i am unable to .. >> i get a very weird output... >> "PK\x03\x04\x14\x00\x

Re: [BangPypers] Live update of cmdline output on browser?

2010-06-14 Thread Vikas BN
Thanks all, I'll see how this goes and report back! On Tue, Jun 15, 2010 at 7:08 AM, Elvis Joel D'Souza wrote: > On Mon, Jun 14, 2010 at 8:53 PM, Noufal Ibrahim wrote: > > > On Mon, Jun 14, 2010 at 8:06 PM, Vikas BN wrote: > > [..] > > > Is there a way to 'tail' the output of this script to t

Re: [BangPypers] Live update of cmdline output on browser?

2010-06-14 Thread Elvis Joel D'Souza
On Mon, Jun 14, 2010 at 8:53 PM, Noufal Ibrahim wrote: > On Mon, Jun 14, 2010 at 8:06 PM, Vikas BN wrote: > [..] > > Is there a way to 'tail' the output of this script to the browser? I > > searched on the > > internet, but apparently my skills in that area seem to have fallen > short > > in t

Re: [BangPypers] biopython

2010-06-14 Thread Kenneth Gonsalves
On Monday 14 June 2010 19:32:33 madhuri vio wrote: > i have tried this still unable to get an output > > from Bio import Seq > from Bio import SeqIO > from Bio import SeqRecord > > for seq_record in SeqIO.read("ls_MTbH37Rv.fasta", "fasta"): > print seq_record.id > print repr(seq_record.se

Re: [BangPypers] BangPypers Digest, Vol 34, Issue 27

2010-06-14 Thread madhuri vio
how do i give it in the f orm of a file handle instead of a string??? i dint get that..cud u clear it for me? On Mon, Jun 14, 2010 at 9:21 PM, wrote: > Send BangPypers mailing list submissions to >bangpypers@python.org > > To subscribe or unsubscribe via the World Wide Web, visit >

Re: [BangPypers] biopython

2010-06-14 Thread Noufal Ibrahim
On Mon, Jun 14, 2010 at 9:15 PM, madhuri vio wrote: > i am still waiting for some help. 1. Read http://www.catb.org/~esr/faqs/smart-questions.html#urgent first and then read the entire article. This is volunteer mailing list. 2. Don't cross post (i.e. post to multiple lists in the same email)

[BangPypers] biopython

2010-06-14 Thread madhuri vio
i am still waiting for some help. -- madhuri :) ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Live update of cmdline output on browser?

2010-06-14 Thread Noufal Ibrahim
On Mon, Jun 14, 2010 at 8:06 PM, Vikas BN wrote: [..] >  Is there a way to 'tail' the output of this script to the browser? I > searched on the >  internet, but apparently my skills in that area seem to have fallen short > in this case :( Not Python specific but Ajax term (http://antony.lesuisse.

[BangPypers] Live update of cmdline output on browser?

2010-06-14 Thread Vikas BN
Hi All, I'm writing a django-based web app. One of the components involve executing a cmd-line script on the server. This script takes quite a bit of time (anywhere between a minute to about 20minutes) and is quite verbose. Is there a way to 'tail' the output of this script to the browser

Re: [BangPypers] biopython

2010-06-14 Thread Guruprasad
Hi, On Mon, Jun 14, 2010 at 7:32 PM, madhuri vio wrote: > i have tried this still unable to get an output > TypeError: Need a file handle, not a string (i.e. not a filename) Isn't this error kind of obvious of what is going wrong? I haven't used any of these stuff but I think passing a file hand

[BangPypers] biopython

2010-06-14 Thread madhuri vio
i have tried this still unable to get an output from Bio import Seq from Bio import SeqIO from Bio import SeqRecord for seq_record in SeqIO.read("ls_MTbH37Rv.fasta", "fasta"): print seq_record.id print repr(seq_record.seq) print len(seq_record) python bio.py Traceback (most recent ca

[BangPypers] biopython

2010-06-14 Thread madhuri vio
i cudnt run this!! and this was the error occured for seq_record in SeqIO.parse("ls_MTbH37Rv. fasta","fasta"): ... print seq_record.id ... print repr(seq_record.seq) ... print len(seq_record) ... Traceback (most recent call last): File "", line 1, in File "/var/lib/python-sup

Re: [BangPypers] file handling

2010-06-14 Thread Supreet Sethi
On Mon, 2010-06-14 at 11:48 +0530, madhuri vio wrote: > a = open("human","rb") > print a.readlines() > > > > this is the code i have > written to read a text file but i am unable to .. > i get a very weird output... > "PK\x03\x04\x14\x00\x00\x00\x00\x00\xd6+\xce<^\xc62\x0c'\x00\x00\x00'\x00\x00