Using filepath method to identify an .html page

Ferrous Cranus nikos.gr33k at gmail.com
Tue Jan 22 10:46:14 EST 2013


Thank you but the number needs to be a 4-digit integer only, if its to be stored in the database table correctly.

pin = int( htmlpage.encode("hex"), 16 )

I just tried whayt you gace me

This produces a number of: 140530319499494727...677522822126923116L

Visit http://superhost.gr to see that displayed error. I think it

Why did you use "hex" for? to encode the string to hexarithmetic? what for?



More information about the Python-list mailing list