Re: Question on Manipulating List and on Python

2011-09-29 Thread Subhabrata Banerjee
011 11:51 AM > To: python-l...@python.org > Subject: Re: Question on Manipulating List and on Python > > On Fri, Sep 30, 2011 at 2:36 AM, Subhabrata Banerjee > wrote: > > And Python seems faster than C++/Java. It is indeed. I also experience > > it. > >

Re: Question on Manipulating List and on Python

2011-09-29 Thread Subhabrata Banerjee
On Sep 29, 9:27 pm, John Gordon wrote: > In > Subhabrata Banerjee writes: > > > (i) I have a file of lists. Now, the first digit starts with a number > > or index, like, > > [001, "Obama", "USA", "President"] > > [002  "Major

Question on Manipulating List and on Python

2011-09-29 Thread Subhabrata Banerjee
words like if word1=line_word[0] if word1==001: I should get line_word[1], line_word[2] reciprocating the value. Predefining it solves the problem, but I want to capture and do as it iterates. If any one can help? (ii) My second question is posted by one of my colleagues, what makes Python so fast? Regards, Subhabrata Banerjee. -- http://mail.python.org/mailman/listinfo/python-list

Re: File Handling Problem

2009-09-04 Thread SUBHABRATA BANERJEE
Dear Sir, Thank you for your kind reply. I would surely check your code. Meanwhile, I solved it using readlines() but not in your way. I will definitely have a look in your code. My solution came so smart that I felt I should not have posted this question. But I would like to know about, i) File

Re: Questions on XML

2009-08-25 Thread SUBHABRATA BANERJEE
408-597-7068 (US) / 07875-841-046 (UK) / 0189-245544 (BD) > > On Saturday 22 August 2009 13:27:02 SUBHABRATA BANERJEE wrote: > > Should I help you? If you answered my questions I am differing from your > > view I do not get any problem in processing Hindi or Bangla or any Indian &

Re: Questions on XML

2009-08-22 Thread SUBHABRATA BANERJEE
Should I help you? If you answered my questions I am differing from your view I do not get any problem in processing Hindi or Bangla or any Indian language in Python it is perfectly fine. Best Regards, Subhabrata. On Sat, Aug 22, 2009 at 9:48 AM, Rami Chowdhury wrote: > > I am using primarily UTF

Re: File handling problem.

2009-05-03 Thread SUBHABRATA BANERJEE
Dear Sir, Thanx for your prompt reply, I would be trying to work on your suggestion and get back to you as soon as possible. Best Regards, Subhabrata. On Sun, May 3, 2009 at 10:47 PM, Chris Rebert wrote: > On Sun, May 3, 2009 at 9:51 AM, SUBHABRATA BANERJEE > wrote: > >

Re: File handling problem.

2009-05-03 Thread SUBHABRATA BANERJEE
Dear Group, I am working on a code like the following: from decimal import* #SAMPLE TEST PROGRAM FOR FILE def sample_file_test(n): #FILE FOR STORING PROBABILITY VALUES open_file=open("/python26/Newfile1.txt","r+") #OPENING OF ENGLISH CORPUS open_corp_eng=open("/python26/