简体   繁体   中英

How to get a full path of a selected file using <Input Type=“file” />

Can i get full path of a selected file using javascript like "C:/Users/Username/Downloads". Because i want to pass this path to python script which will perform some operation on selected file.

如果您使用的是 Windows,您可以进入文件资源管理器并打开您想要的文件夹,然后在顶部您可以右键单击打开的文件夹并按文本复制文件地址。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM