Hey All, Can anyone tell me how to read a Djano UploadedFile .xls file with xlrd without resorting to explicitly saving the file to the hard drive?
If I attempt to pass my_file.read() directly to xlrd, the error I get is: file() argument 1 must be (encoded string without NULL bytes), not str Based on that error, it seems that I should be able to cast the value to some sort of encoded string. Any suggestions? Thanks, James --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---