Forum: Python 34 Days Ago |
| Replies: 16 Views: 1,176 |
Forum: Python 34 Days Ago |
| Replies: 16 Views: 1,176 I don't mean to win anything, I think this is a place to discuss python programming, with people having different levels, who like and learn this language. Hundreds of threads here are about... |
Forum: Python 34 Days Ago |
| Replies: 16 Views: 1,176 I think it's pure paranoia to suspect someone from stealing someone else's property just because he is extracting data from their web page. Why not jail people who post in the web development forums... |
Forum: Python 34 Days Ago |
| Replies: 16 Views: 1,176 When you don't want people to download your documents, you don't put them online, so no, I don't think it's questionable. Thousands of programs extract data from websites. Why would figved's program... |
Forum: Python Oct 21st, 2009 |
| Replies: 13 Views: 505 Popitem is not meant to be a random generator. |
Forum: Python Oct 19th, 2009 |
| Replies: 13 Views: 505 I still don't agree. It's very easy to write a shuffle function
from random import randrange
def my_shuffle(the_list):
n = len(the_list)
while n > 1:
i = randrange(n)
... |
Forum: Python Oct 4th, 2009 |
| Replies: 5 Views: 382 I don't know exactly what you want to compare, but here is a code which measures the time necessary to execute 1,000,000 times a dictionary lookup (the statement '7498' in D)
from timeit import... |