Jeroen's blog
About Me
Name:
Jeroen van de Graaf
View my complete profile
Previous Posts
Analytic Hierarchy Process (AHP)
commandos openssl
Fact about Brazil
networking
Bayes
links BS7799/ISO17799
links about biometrics
Links Segurança de Informação
Uso de vírgula (2)
Uso de vírgula (1)
2006/07/10
python (1)
## http://www.math.umbc.edu/~campbell/Computers/Python/numbthy.html
import numbthy
input = open('primes.txt', 'r')
for line in input:
## print line
p = int(line, 16)
print p
print numbthy.isprime(p)
posted by Jeroen van de Graaf @
Monday, July 10, 2006
<< Home
<< Home