question

2011-08-14 Thread Abhishek Jain
Hello all, I wrote a python program to find the 1000th prime no. The program isn't working as it should be. Please tell what the error is: ## this is to find the 1000th prime number number = 3 while number 1: ###initialize stuff counter = 1 ###initializing list to check

Equality check

2011-08-03 Thread Abhishek Jain
How to check equality of two nos. in python -- http://mail.python.org/mailman/listinfo/python-list

Re: How would I write this C code in Python?

2007-07-07 Thread Abhishek Jain
how would MAXBUFFERSIZE be taken care in python; --abhi On 7/7/07, Steven D'Aprano [EMAIL PROTECTED] wrote: On Fri, 06 Jul 2007 17:31:50 +, DeveloperX wrote: Python Attempt: Please note that since I can't type TABs online easily, I am using the @ character to represent TABs in the

Re: list.append not working?

2007-07-05 Thread Abhishek Jain
with every iteration your previous values are overwritten ('md' is a dictionary) so thats why your are observing this ouput.. check if the following patch solves your problem for entity in temp: md['module']= entity.addr.get('module') md['id']=entity.addr.get('id')