Hi Bob

> I'm trying to achieve the following:
>
>    - user indicates a file on his/her machine 
>    - the program opens the file, reads the data and acts on that
>
>
>
What you want to do is not possible - at least not without client-side 
scripting.

The "program" you refer to is running on your web server, not on the 
machine of the user. 

So before your code can do anything to the users file, it needs to be 
transferred (uploaded) to your server. So there is nothing you can do with 
Django/Python before that.

After that processing, you may give the user a result page with a link to 
the processed file - but from your description I don't know if if this is 
what you want to do.

regards
Thomas

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to