Using filepath method to identify an .html page

Chris Angelico rosuav at gmail.com
Tue Jan 22 11:11:20 EST 2013


On Wed, Jan 23, 2013 at 2:59 AM, Ferrous Cranus <nikos.gr33k at gmail.com> wrote:
> I just need a way to CONVERT a string(absolute path) to a 4-digit unique number with INT!!! That's all i want!! But i cannot make it work :(

Either you are deliberately trolling, or you have a major
comprehension problem. Please go back and read, carefully, all the
remarks you've been offered in this thread. Feel free to ask for
clarification of anything that doesn't make sense, but be sure to read
all of it. You are asking something that is fundamentally
impossible[1]. There simply are not enough numbers to go around.

ChrisA
[1] Well, impossible in decimal. If you work in base 4294967296, you
could do what you want in four "digits".



More information about the Python-list mailing list