Hi All,
>I am new to using python
> By using the below code am not getting the complete path of the file
>
> <script language="javascript" type="text/javascript">
> function getvaluetxt()
> {
> var str =
> document.getElementById('file').value;
> alert(str);
> }
> </script>
> <body>
> <form action="/" method="post"
> enctype="multipart/form-data">
> Pricelist:<input type="hidden"
> name="textbox1" id="textbox1" >
> <input type="file" name="file"
> id="file"/>
> <br>
> <input type="submit" value="upload"
> onclick="getvaluetxt()">
>
> </form>
>
> 1. How i can get the full path of the file?
> 2. I need to map the path with xlrd.
>
> for eg:- I need to give the path in book = xlrd.open_workbook(path)
>
> How i can do this?
>
> Regards,
> Nimmy