in reply to
Re: Using filepath method to identify an .html page
in thread Using filepath method to identify an .html page
The only thing i know is that:
a) i only need to get a number out of string(being an absolute path)
b) That number needs to be unique, because "that" number is an indicator to the actual html file.
Will int function get the job done or a hashing method needs to get involved?
I dont know HOW this is supposed to be written. i just know i need this:
number = function_that_returns_a_number_out_of_a_string( absolute_path_of_a_html_file)
pin = int ( '/home/nikos/public_html/index.html' )
This fails for me. Is it because it has slashes in it?