On 20-Sep-07, at 3:08 PM, slummer wrote:

>
> When i post a file  to web.py, how can i get the file's name?
> For example, I commit a file which full path is "c:\temp\example.xml"
> to web.py, how can i get this  file name:"example.xml" by web.py?

i = web.input(f={})
print i.f.filename, i.f.value

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to