ISBN Check Digit Calculation

Introdutction:

The check digit is the last digit of an ISBN.
It is calculated on a modulus 11 with weights 10-2,
using X in lieu of 10 where ten would occur as a check digit.

This means that each of the first nine digits of the ISBN
 – excluding the check digit itself –
is multiplied by a number ranging from 10 to 2 and
that the resulting sum of the products,
plus the check digit,
must be divisible by 11 without a remainder.

Continue reading “ISBN Check Digit Calculation”

使用程序申请900号的户籍证明

使用的是 Python + Curl 的组合,

Python脚本用来写控制程序,网络部分由 Curl 完成。

curl 是一个网络应用程序,使用很方便,支持http ftp https telnet 等众多协议,
还有curllib,又很多语言的Bind,常见的和不常见的语言都支持,
有:
Continue reading “使用程序申请900号的户籍证明”