On Wed, Jan 23, 2013 at 2:59 AM, Ferrous Cranus <nikos.gr...@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". -- http://mail.python.org/mailman/listinfo/python-list