2 registered members (Imhotep, opm),
785
guests, and 4
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: A6 Commercial Lottery #2
[Re: Silent_Assassin]
#72844
06/06/06 12:39
06/06/06 12:39
|
Joined: Jan 2003
Posts: 4,615 Cambridge
Joey
Expert
|
Expert
Joined: Jan 2003
Posts: 4,615
Cambridge
|
here, use that one:
# -*- coding: cp1252 -*-
# pick a random name
from time import sleep
from random import randint, seed
names = (
"Benjamin Kaul",
"Erald Cala",
"Nevo David",
"Felix M. L. Caffier",
"Kristian Korkeila",
"Torren Sewell",
"Benjamin Stephan",
"Marius Kappes",
"John Hyde",
"Sebastian Louven",
"Caits Kloecker",
"Andrew Swallow",
"Brandon Marx",
"Nick Jones",
"Joel (Ayrus) Maxwell",
"Michael Foutch",
"Manjinder Singh Lamba",
"Benjamin Gentner",
"Dima Dovgan",
"Sven Paroth",
"Eigen Lenk",
"Christian Behrenberg",
"Timo Stark",
"Matthias Wiedhalm",
"Antonio Fontoura",
"Josef Mueller",
"Brian Broyles",
"Alisa Vinci",
"Marcio Esper",
"Peter Müller",
"michael mcmahon",
"Dennis van den Broek",
"Taco Cohen",
"Matt Coles",
"bram van holstein",
"Julian Smart",
"Johannes Bausch",
"Michael Chavers",
"Cristiane Bialetzki",
"Sergio Novelo",
"Bryan Amato",
"Manolis Tsotros",
"Sean Kennedy",
"Trevor Braun",
"Gafgar",
"Eike von Tils",
"Ronald Vleeming",
"Christian Davies",
"Sven Bolzern",
"Carlos Freitas",
"Peter Soxberger",
"Raimonds Zigurs",
"Raivis Strogonovs",
"Balázs Faludi",
"Alex",
"Charalambos Theodorou",
"Frank Niemann"
)
print "and the winner is..."
for i in xrange(3):
print str(3-i)
sleep(1)
seed();
print names[randint(0, len(names)-1)]
print "thank you for using joey's name picker. bye."
simply save it as python file and run it. greetings, joey.
|
|
|
Re: A6 Commercial Lottery #2
[Re: EX Citer]
#72849
06/07/06 13:29
06/07/06 13:29
|
Joined: Jun 2005
Posts: 184 Austria
HIAS
Member
|
Member
Joined: Jun 2005
Posts: 184
Austria
|
Quote:
Quote:
name: Julian Smart e-mail: julius(dot)miller(at)gmail(dot)com
(why do we do the "dot's" and "at's" that way?)
julz
It's because of email scavaging bots visiting the forums. But I pretty much doubt they will fall for the dot and at tricks. [Email]-a@t-[/Email] for example would make even less sense to the bot, but (at) will be quite simple to seethrough I think... Just my 2 cents, I don't know how clever they really are,
Cheers
Maybe it would be a good idea to close (or delete) this thread now that we have a winner in case that such a bot visits the Forum
Hias
|
|
|
|