file handling

2010-06-13 Thread madhuri vio
i have a doubt about ...this..can u look into this.. a = open(human.odt,r) b = a.readlines() print b and i get d output something else... python monday.py

file handling

2010-06-14 Thread madhuri vio
i am waiting for the reply..as ia m unable to proceed -- madhuri :) -- http://mail.python.org/mailman/listinfo/python-list

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 stdin, line 1, in module File

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 call

biopython

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

biopython

2010-06-15 Thread madhuri vio
i am waiting for the reply as i am unable to proceed...;( -- madhuri :) -- http://mail.python.org/mailman/listinfo/python-list

basic doubt

2010-06-16 Thread madhuri vio
def h(self,event): handle = open(myco.fasta,r) for seq_record in SeqIO.parse(handle, fasta): messenger_rna = coding_myco.fasta.transcribe() han1 = open(mycorna.fasta,wU) han1.close() return self.messenger_rna the error is... File

gui doubt

2010-06-16 Thread madhuri vio
if i want to create a button which performs the transcription of dna to rna using tkinter in a gui... can u give me the method... -- madhuri :) -- http://mail.python.org/mailman/listinfo/python-list

hii

2010-06-01 Thread madhuri vio
i wanted to know the difference between copy composed objects and independent objects composed objects firstserie = all_2_digests([’EcoRI’, ’HindIII’, ’BamHI’]) firstserie [[’EcoRI’, ’HindIII’], [’EcoRI’, ’BamHI’], [’HindIII’, ’BamHI’]] newserie = firstserie[1:] newserie [[’EcoRI’,

Re: Python-list Digest, Vol 81, Issue 63

2010-06-09 Thread madhuri vio
import tkinter root = tkinter.Tk() #initialize tkinter and get a top level instance root.title(madhuri is a python) canvas = tkinter.Canvas(root) #creating the canvas under the root canvas.pack() #to call the packer geometry canvas.create_rectangle(20,10,120,80,fill=colors[0]) root.close()

Re: Python-list Digest, Vol 81, Issue 63

2010-06-09 Thread madhuri vio
: import tkinter root = tkinter.Tk() #initialize tkinter and get a top level instance root.title(madhuri is a python) canvas = tkinter.Canvas(root) #creating the canvas under the root canvas.pack() #to call the packer geometry canvas.create_rectangle(20,10,120,80,fill=colors[0])

help me

2010-06-09 Thread madhuri vio
this is the code i have written ..even after changing d module name i am still getting the same error... what do they mean by an attribute error...can u explain in detail i am unable to proceed further... #!usr/bin/env python #making structured graphics using tkinter interface import tkinter

sir

2010-06-09 Thread madhuri vio
i am sorry for using such a word urgent...its just that i am unable to progress and i have u as the only source of help... i was wondering how to rename the module i renamed it to madhu.py -- madhuri :) -- http://mail.python.org/mailman/listinfo/python-list

sir

2010-06-09 Thread madhuri vio
url[, data[, timeout]) in this format of passing arguments i dint understand d syntax...d comma is coming immediately after the bracket...dint get it.. -- madhuri :) -- http://mail.python.org/mailman/listinfo/python-list

sir

2010-06-09 Thread madhuri vio
i am working on linux sir #!usr/bin/env python #making structured graphics using tkinter interface import tkinter a = tkinter.Tk() #initialize tkinter and get a top level instance a.title(madhuri is a python) canvas = tkinter.Canvas(a)

sir

2010-06-09 Thread madhuri vio
sir i am wanted to know more in detail about expressions ..if u can give an abstract idea... -- madhuri :) -- http://mail.python.org/mailman/listinfo/python-list

pprint

2010-06-09 Thread madhuri vio
sir what is the function of pprint??? could you please help me out with that -- madhuri :) -- http://mail.python.org/mailman/listinfo/python-list

Re: help me

2010-06-09 Thread madhuri vio
to the list, with my remarks at the end, since top-posting is inconsistent and confusing. madhuri vio wrote: yea i have deleted all the files related to dat module and now when i try to execute it ,,it says python madhu.py Traceback (most recent call last): File madhu.py, line 4

Re: help me

2010-06-09 Thread madhuri vio
reply goes to the individual, and not to the list. Make sure python-list@python.org is in your TO: list. I'm sending this back to the list, with my remarks at the end, since top-posting is inconsistent and confusing. madhuri vio wrote: yea i have deleted all the files related to dat

Re: help me

2010-06-09 Thread madhuri vio
yea i was able to import by capitalizing t...thank u so much but wats the reason behind they just changed it for the significance of each version ..is it that way? On Wed, Jun 9, 2010 at 4:09 PM, Dave Angel da...@ieee.org wrote: madhuri vio wrote: 1)2.6.2 (release26-maint, Apr 19 2009, 01

grep command

2010-06-10 Thread madhuri vio
i was wondering bout the usage and syntax of grep command..can u tall me its syntax so that i can use it and proceed...pls -- madhuri :) -- http://mail.python.org/mailman/listinfo/python-list

regarding the dimensions in gui

2010-06-10 Thread madhuri vio
sir ,, i wanted to knw how to decide on the dimensions mentioned in the gui development..all i know is the top left corner is considered as the origin ... then how are we having all the dimensions positive.??? -- madhuri :) -- http://mail.python.org/mailman/listinfo/python-list

tkinter doubt

2010-06-10 Thread madhuri vio
# File: hello2.py from Tkinter import * class App: def __init__(self, master): frame = Frame(master) frame.pack() self.button = Button(frame, text=QUIT, fg=red, command=frame.quit) self.button.pack(side=LEFT) self.hi_there = Button(frame,

gui doubt

2010-06-10 Thread madhuri vio
how do i get the buttons at the bottom of the tool i create??? what is the command for side i need to mention??? -- http://mail.python.org/mailman/listinfo/python-list

gui related

2010-06-10 Thread madhuri vio
in this program i tried..i am getting a name error... from Tkinter import* import Tkinter a = Tk() a.title (TOOL) entry = Tkinter.Canvas(a)#creating the canvas under the root entry.pack() #to call the packer geometry