Along this line of using URLs and joins, I'm doing the following but it's not working for me:
input_file = URL(r=request,a='static',c='temp',f='test.txt') ifile=open(input_file,'w') This doesn't work, either: input_file = os.path.join(request.folder,URL (r=request,a='static',c='temp',f='test.txt')) ifile=open(input_file,'w') In both cases I get IOError: [Errno 2] No such file or directory: '/static/temp/test.txt' --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" 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/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

